summaryrefslogtreecommitdiffstats
path: root/subcmds/info.py
diff options
context:
space:
mode:
authorLaMont Jones <lamontjones@google.com>2022-04-20 16:42:32 +0000
committerLaMont Jones <lamontjones@google.com>2022-04-29 18:42:23 +0000
commit501733c2abb1180679f25b2f78970d73a2f8d413 (patch)
tree61c04bb534130591e21a55abe1971ff9574c2938 /subcmds/info.py
parent0165e20fcc4533ae0dc48531cfa9cbf3662cc999 (diff)
downloadgit-repo-501733c2abb1180679f25b2f78970d73a2f8d413.tar.gz
manifest: add submanifest.default_groups attributev2.25
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 <lamontjones@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/info.py')
-rw-r--r--subcmds/info.py3
1 files changed, 1 insertions, 2 deletions
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):
65 self.manifest = self.manifest.outer_client 65 self.manifest = self.manifest.outer_client
66 manifestConfig = self.manifest.manifestProject.config 66 manifestConfig = self.manifest.manifestProject.config
67 mergeBranch = manifestConfig.GetBranch("default").merge 67 mergeBranch = manifestConfig.GetBranch("default").merge
68 manifestGroups = (manifestConfig.GetString('manifest.groups') 68 manifestGroups = self.manifest.GetGroupsStr()
69 or 'all,-notdefault')
70 69
71 self.heading("Manifest branch: ") 70 self.heading("Manifest branch: ")
72 if self.manifest.default.revisionExpr: 71 if self.manifest.default.revisionExpr: