From b90a422ab692657709ed49783212f7febe445ac7 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Thu, 14 Apr 2022 15:00:09 +0000 Subject: 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 Reviewed-by: Mike Frysinger --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index 6fb688c2..34dfb777 100755 --- a/main.py +++ b/main.py @@ -310,7 +310,7 @@ class _Repo(object): # (sub)manifest, and then any child submanifests. result = cmd.Execute(copts, cargs) for submanifest in repo_client.manifest.submanifests.values(): - spec = submanifest.ToSubmanifestSpec(root=repo_client.outer_client) + spec = submanifest.ToSubmanifestSpec() gopts.submanifest_path = submanifest.repo_client.path_prefix child_argv = argv[:] child_argv.append('--no-outer-manifest') -- cgit v1.2.3-54-g00ecf