From bdcba7dc36f1c8e6041681eb5b3b5229c93c7c5c Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Mon, 11 Apr 2022 22:50:11 +0000 Subject: sync: add multi-manifest support With this change, partial syncs (sync with a project list) are again supported. If the updated manifest includes new sub manifests, download them inheriting options from the parent manifestProject. Change-Id: Id952f85df2e26d34e38b251973be26434443ff56 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/334819 Reviewed-by: Mike Frysinger Tested-by: LaMont Jones --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 34dfb777..c54f9281 100755 --- a/main.py +++ b/main.py @@ -294,8 +294,7 @@ class _Repo(object): cmd.ValidateOptions(copts, cargs) this_manifest_only = copts.this_manifest_only - # If not specified, default to using the outer manifest. - outer_manifest = copts.outer_manifest is not False + outer_manifest = copts.outer_manifest if cmd.MULTI_MANIFEST_SUPPORT or this_manifest_only: result = cmd.Execute(copts, cargs) elif outer_manifest and repo_client.manifest.is_submanifest: -- cgit v1.2.3-54-g00ecf