summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/sync.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index e6dbf1c8..a770c253 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -959,9 +959,7 @@ later is required to fix a server side protocol bug.
959 959
960 load_local_manifests = not self.manifest.HasLocalManifests 960 load_local_manifests = not self.manifest.HasLocalManifests
961 if git_superproject.UseSuperproject(opt, self.manifest): 961 if git_superproject.UseSuperproject(opt, self.manifest):
962 new_manifest_name = self._UpdateProjectsRevisionId(opt, args, load_local_manifests) 962 manifest_name = self._UpdateProjectsRevisionId(opt, args, load_local_manifests) or opt.manifest_name
963 if not new_manifest_name:
964 manifest_name = opt.manifest_name
965 963
966 if self.gitc_manifest: 964 if self.gitc_manifest:
967 gitc_manifest_projects = self.GetProjects(args, 965 gitc_manifest_projects = self.GetProjects(args,