changeset 3772 | 73860ffbe798 |
parent 3767 | 1861fa38a6a7 |
child 3773 | b1eeaeb936ae |
--- a/mercurial/commands.py Sun Dec 03 16:16:33 2006 -0600 +++ b/mercurial/commands.py Sun Dec 03 16:16:33 2006 -0600 @@ -2210,7 +2210,9 @@ if ui.quiet: ui.write("%s\n" % t) else: - ui.write("%-30s %s\n" % (t, r)) + t = util.localsub(t, 30) + t += " " * (30 - util.locallen(t)) + ui.write("%s %s\n" % (t, r)) def tip(ui, repo, **opts): """show the tip revision