summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorLaMont Jones <lamontjones@google.com>2022-04-14 15:00:09 +0000
committerLaMont Jones <lamontjones@google.com>2022-04-19 21:28:20 +0000
commitb90a422ab692657709ed49783212f7febe445ac7 (patch)
tree1cba036265a2f34a96cd89198151530a20fed8b1 /project.py
parenta46047a822ad13738af9b17a524a0bd483b98033 (diff)
downloadgit-repo-b90a422ab692657709ed49783212f7febe445ac7.tar.gz
Override the manifest for the entire command
When a manifest file is overridden, remember that and keep using the override for the remainder of the process. If we need to revert it, make the override name evaluate False. Change-Id: I1eee05fec6988c1ee4a3c751c4b540d5b5d11797 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/335136 Tested-by: LaMont Jones <lamontjones@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index 7da7b1d3..aeb092ca 100644
--- a/project.py
+++ b/project.py
@@ -3760,7 +3760,7 @@ class ManifestProject(MetaProject):
3760 3760
3761 if not this_manifest_only: 3761 if not this_manifest_only:
3762 for submanifest in self.manifest.submanifests.values(): 3762 for submanifest in self.manifest.submanifests.values():
3763 spec = submanifest.ToSubmanifestSpec(root=self.manifest.outer_client) 3763 spec = submanifest.ToSubmanifestSpec()
3764 submanifest.repo_client.manifestProject.Sync( 3764 submanifest.repo_client.manifestProject.Sync(
3765 manifest_url=spec.manifestUrl, 3765 manifest_url=spec.manifestUrl,
3766 manifest_branch=spec.revision, 3766 manifest_branch=spec.revision,