diff options
author | Olof Johansson <olof.johansson@sonymobile.com> | 2012-07-10 14:32:23 +0200 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-11-15 03:29:01 +0900 |
commit | 33949c34d28eef7b4a27e0fb1a03221cd3c84113 (patch) | |
tree | fa5efe90998a6b14f6ae600e13eb4cef4cc4fe20 /subcmds/overview.py | |
parent | 8f62fb7bd305337994bced7d23b347d0d39f5faf (diff) | |
download | git-repo-33949c34d28eef7b4a27e0fb1a03221cd3c84113.tar.gz |
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
Diffstat (limited to 'subcmds/overview.py')
-rw-r--r-- | subcmds/overview.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subcmds/overview.py b/subcmds/overview.py index 9e6100b4..418459ae 100644 --- a/subcmds/overview.py +++ b/subcmds/overview.py | |||
@@ -55,8 +55,11 @@ are displayed. | |||
55 | def __init__(self, config): | 55 | def __init__(self, config): |
56 | Coloring.__init__(self, config, 'status') | 56 | Coloring.__init__(self, config, 'status') |
57 | self.project = self.printer('header', attr='bold') | 57 | self.project = self.printer('header', attr='bold') |
58 | self.text = self.printer('text') | ||
58 | 59 | ||
59 | out = Report(all_branches[0].project.config) | 60 | out = Report(all_branches[0].project.config) |
61 | out.text("Deprecated. See repo info -o.") | ||
62 | out.nl() | ||
60 | out.project('Projects Overview') | 63 | out.project('Projects Overview') |
61 | out.nl() | 64 | out.nl() |
62 | 65 | ||