Print all table headers
authorGregory Szorc <gps@mozilla.com>
Thu, 25 Jul 2013 13:01:40 -0700
changeset 32 41fba75dcfe95dc299322e97705a0ab885df6b98
parent 31 c28a3b4ed986ee887895a40e869a49078ed7edf6
child 33 82e14d3466b7c817a04996ec7ebccae47c20925b
push id16
push usergszorc@mozilla.com
push dateThu, 25 Jul 2013 20:01:41 +0000
Print all table headers
__init__.py
--- a/__init__.py
+++ b/__init__.py
@@ -414,17 +414,18 @@ def changesetpushes(ui, repo, rev, all=F
     tracker = ChangeTracker(repo.join('changetracker.db'))
     pushes = [p for p in tracker.pushes_for_changeset(node) if all or p[0] in
         RELEASE_TREES]
     longest_tree = max(len(p[0]) for p in pushes) + 2
     longest_user = max(len(p[3]) for p in pushes) + 2
 
     ui.write(ctx.rev(), ':', str(ctx), ' ', ctx.description(), '\n')
 
-    ui.write('Tree'.ljust(longest_tree), 'Date'.ljust(19), ' Username\n')
+    ui.write('Tree'.ljust(longest_tree), 'Date'.ljust(20),
+            'Username'.ljust(longest_user), 'Build Info\n')
     for tree, push_id, when, user, head_changeset in pushes:
         tbpl = tbpl_url(tree, head_changeset[0:12])
         date = datetime.datetime.fromtimestamp(when)
         ui.write(tree.ljust(longest_tree), date.isoformat(), ' ',
             user.ljust(longest_user), tbpl or '', '\n')
 
 
 def critic_hook(ui, repo, node=None, **opts):