Merge "Add manifest groups to the output of `info`"
diff --git a/subcmds/info.py b/subcmds/info.py
index 8fb363f..325874b 100644
--- a/subcmds/info.py
+++ b/subcmds/info.py
@@ -53,7 +53,10 @@
self.opt = opt
- mergeBranch = self.manifest.manifestProject.config.GetBranch("default").merge
+ manifestConfig = self.manifest.manifestProject.config
+ mergeBranch = manifestConfig.GetBranch("default").merge
+ manifestGroups = (manifestConfig.GetString('manifest.groups')
+ or 'all,-notdefault')
self.heading("Manifest branch: ")
self.headtext(self.manifest.default.revisionExpr)
@@ -61,6 +64,9 @@
self.heading("Manifest merge branch: ")
self.headtext(mergeBranch)
self.out.nl()
+ self.heading("Manifest groups: ")
+ self.headtext(manifestGroups)
+ self.out.nl()
self.printSeparator()