summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r--subcmds/sync.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index 74b3f183..63227afd 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -277,7 +277,7 @@ later is required to fix a server side protocol bug.
277 277
278 def UpdateProjectList(self): 278 def UpdateProjectList(self):
279 new_project_paths = [] 279 new_project_paths = []
280 for project in self.manifest.projects.values(): 280 for project in self.GetProjects(None, missing_ok=True):
281 if project.relpath: 281 if project.relpath:
282 new_project_paths.append(project.relpath) 282 new_project_paths.append(project.relpath)
283 file_name = 'project.list' 283 file_name = 'project.list'
@@ -306,7 +306,8 @@ later is required to fix a server side protocol bug.
306 worktree = os.path.join(self.manifest.topdir, path), 306 worktree = os.path.join(self.manifest.topdir, path),
307 relpath = path, 307 relpath = path,
308 revisionExpr = 'HEAD', 308 revisionExpr = 'HEAD',
309 revisionId = None) 309 revisionId = None,
310 groups = None)
310 311
311 if project.IsDirty(): 312 if project.IsDirty():
312 print >>sys.stderr, 'error: Cannot remove project "%s": \ 313 print >>sys.stderr, 'error: Cannot remove project "%s": \