Chromium Code Reviews| Index: gclient.py |
| =================================================================== |
| --- gclient.py (revision 77131) |
| +++ gclient.py (working copy) |
| @@ -734,7 +734,7 @@ |
| # Notify the user if there is an orphaned entry in their working copy. |
| # Only delete the directory if there are no changes in it, and |
| # delete_unversioned_trees is set to true. |
| - entries = [i.name for i in self.tree(False)] |
| + entries = [i.name for i in self.tree(False) if i.url != None] |
|
M-A Ruel
2011/03/08 13:43:24
"if i.url" would be sufficient. I think it's fine
|
| for entry, prev_url in self._ReadEntries().iteritems(): |
| if not prev_url: |
| # entry must have been overridden via .gclient custom_deps |