From cc879a97c3e2614d19b15b4661c3cab4d33139c9 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Thu, 18 Nov 2021 22:40:18 +0000 Subject: Add multi-manifest support with element To be addressed in another change: - a partial `repo sync` (with a list of projects/paths to sync) requires `--this-tree-only`. Change-Id: I6c7400bf001540e9d7694fa70934f8f204cb5f57 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/322657 Tested-by: LaMont Jones Reviewed-by: Mike Frysinger --- subcmds/checkout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subcmds/checkout.py') diff --git a/subcmds/checkout.py b/subcmds/checkout.py index 9b429489..768b6027 100644 --- a/subcmds/checkout.py +++ b/subcmds/checkout.py @@ -47,7 +47,7 @@ The command is equivalent to: nb = args[0] err = [] success = [] - all_projects = self.GetProjects(args[1:]) + all_projects = self.GetProjects(args[1:], all_manifests=not opt.this_manifest_only) def _ProcessResults(_pool, pm, results): for status, project in results: -- cgit v1.2.3-54-g00ecf