Merge "Add manifest groups to the output of info"

This commit is contained in:
David Pursehouse 2013-03-08 01:12:56 +00:00 committed by Gerrit Code Review
commit a27852d0e7

View File

@ -53,7 +53,10 @@ class Info(PagedCommand):
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 @@ class Info(PagedCommand):
self.heading("Manifest merge branch: ")
self.headtext(mergeBranch)
self.out.nl()
self.heading("Manifest groups: ")
self.headtext(manifestGroups)
self.out.nl()
self.printSeparator()