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 /main.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 'main.py')
| -rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -310,7 +310,7 @@ class _Repo(object): | |||
| 310 | # (sub)manifest, and then any child submanifests. | 310 | # (sub)manifest, and then any child submanifests. |
| 311 | result = cmd.Execute(copts, cargs) | 311 | result = cmd.Execute(copts, cargs) |
| 312 | for submanifest in repo_client.manifest.submanifests.values(): | 312 | for submanifest in repo_client.manifest.submanifests.values(): |
| 313 | spec = submanifest.ToSubmanifestSpec(root=repo_client.outer_client) | 313 | spec = submanifest.ToSubmanifestSpec() |
| 314 | gopts.submanifest_path = submanifest.repo_client.path_prefix | 314 | gopts.submanifest_path = submanifest.repo_client.path_prefix |
| 315 | child_argv = argv[:] | 315 | child_argv = argv[:] |
| 316 | child_argv.append('--no-outer-manifest') | 316 | child_argv.append('--no-outer-manifest') |
