1
0
Fork 0

Add repo info command

The info command will print information regarding the current manifest
and local git branch. It will also show the difference of commits
between the local branch and the remote branch.

It also incorporates an overview command into info which shows commits
over all branches.

Change-Id: Iafedd978f44c84d240c010897eff58bbfbd7de71
This commit is contained in:
Olof Johansson 2012-07-10 14:32:23 +02:00 committed by David Pursehouse
parent 8f62fb7bd3
commit 33949c34d2
2 changed files with 198 additions and 0 deletions

View file

@ -55,8 +55,11 @@ are displayed.
def __init__(self, config):
Coloring.__init__(self, config, 'status')
self.project = self.printer('header', attr='bold')
self.text = self.printer('text')
out = Report(all_branches[0].project.config)
out.text("Deprecated. See repo info -o.")
out.nl()
out.project('Projects Overview')
out.nl()