mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "Add manifest groups to the output of info
"
This commit is contained in:
commit
a27852d0e7
@ -53,7 +53,10 @@ class Info(PagedCommand):
|
|||||||
|
|
||||||
self.opt = opt
|
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.heading("Manifest branch: ")
|
||||||
self.headtext(self.manifest.default.revisionExpr)
|
self.headtext(self.manifest.default.revisionExpr)
|
||||||
@ -61,6 +64,9 @@ class Info(PagedCommand):
|
|||||||
self.heading("Manifest merge branch: ")
|
self.heading("Manifest merge branch: ")
|
||||||
self.headtext(mergeBranch)
|
self.headtext(mergeBranch)
|
||||||
self.out.nl()
|
self.out.nl()
|
||||||
|
self.heading("Manifest groups: ")
|
||||||
|
self.headtext(manifestGroups)
|
||||||
|
self.out.nl()
|
||||||
|
|
||||||
self.printSeparator()
|
self.printSeparator()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user