Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 4144:03e9c22a6489
merge with crew-stable
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 05 Mar 2007 19:54:21 +0100 |
parents | e6d26e71f049 26314500a5e1 |
children | d8515e374204 |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Mar 04 14:35:11 2007 -0300 +++ b/mercurial/commands.py Mon Mar 05 19:54:21 2007 +0100 @@ -274,9 +274,8 @@ if ui.quiet: ui.write("%s\n" % t) else: - t = util.localsub(t, 30) - t += " " * (30 - util.locallen(t)) - ui.write("%s %s:%s\n" % (t, -r, hexfunc(n))) + spaces = " " * (30 - util.locallen(t)) + ui.write("%s%s %s:%s\n" % (t, spaces, -r, hexfunc(n))) def bundle(ui, repo, fname, dest=None, **opts): """create a changegroup file @@ -2469,9 +2468,8 @@ if ui.quiet: ui.write("%s\n" % t) else: - t = util.localsub(t, 30) - t += " " * (30 - util.locallen(t)) - ui.write("%s %s\n" % (t, r)) + spaces = " " * (30 - util.locallen(t)) + ui.write("%s%s %s\n" % (t, spaces, r)) def tip(ui, repo, **opts): """show the tip revision