From 501733c2abb1180679f25b2f78970d73a2f8d413 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Wed, 20 Apr 2022 16:42:32 +0000 Subject: manifest: add submanifest.default_groups attribute When the user does not specify any manifest groups, this allows the parent manifest to indicate which manifest groups should be used for syncing the submanifest. Change-Id: I88806ed35013d13dd2ab3cd245fcd4f9061112c4 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/335474 Tested-by: LaMont Jones Reviewed-by: Mike Frysinger --- subcmds/info.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'subcmds/info.py') diff --git a/subcmds/info.py b/subcmds/info.py index 4bedf9d5..baa4c5b1 100644 --- a/subcmds/info.py +++ b/subcmds/info.py @@ -65,8 +65,7 @@ class Info(PagedCommand): self.manifest = self.manifest.outer_client manifestConfig = self.manifest.manifestProject.config mergeBranch = manifestConfig.GetBranch("default").merge - manifestGroups = (manifestConfig.GetString('manifest.groups') - or 'all,-notdefault') + manifestGroups = self.manifest.GetGroupsStr() self.heading("Manifest branch: ") if self.manifest.default.revisionExpr: -- cgit v1.2.3-54-g00ecf