summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r--subcmds/sync.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index a770c253..74617544 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -301,6 +301,12 @@ later is required to fix a server side protocol bug.
301 self.repodir, 301 self.repodir,
302 self.git_event_log, 302 self.git_event_log,
303 quiet=opt.quiet) 303 quiet=opt.quiet)
304 if opt.local_only:
305 manifest_path = superproject.manifest_path
306 if manifest_path:
307 self._ReloadManifest(manifest_path, load_local_manifests)
308 return manifest_path
309
304 all_projects = self.GetProjects(args, 310 all_projects = self.GetProjects(args,
305 missing_ok=True, 311 missing_ok=True,
306 submodules_ok=opt.fetch_submodules) 312 submodules_ok=opt.fetch_submodules)