diff options
author | LaMont Jones <lamontjones@google.com> | 2022-04-14 15:00:09 +0000 |
---|---|---|
committer | LaMont Jones <lamontjones@google.com> | 2022-04-19 21:28:20 +0000 |
commit | b90a422ab692657709ed49783212f7febe445ac7 (patch) | |
tree | 1cba036265a2f34a96cd89198151530a20fed8b1 /project.py | |
parent | a46047a822ad13738af9b17a524a0bd483b98033 (diff) | |
download | git-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |