changeset 6814:88804fad71bc

branches unparseable output fix (issue1230)
author Stefano Tortarolo <stefano.tortarolo@gmail.com>
date Sun, 20 Jul 2008 12:09:37 +0200
parents e1d8e79d7c8f
children 7d6622eaad08
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jun 25 19:41:43 2008 +0100
+++ b/mercurial/commands.py	Sun Jul 20 12:09:37 2008 +0200
@@ -388,10 +388,10 @@
             if ui.quiet:
                 ui.write("%s\n" % tag)
             else:
-                rev = str(node).rjust(32 - util.locallen(tag))
+                rev = str(node).rjust(31 - util.locallen(tag))
                 isinactive = ((not isactive) and " (inactive)") or ''
                 data = tag, rev, hexfunc(repo.lookup(node)), isinactive
-                ui.write("%s%s:%s%s\n" % data)
+                ui.write("%s %s:%s%s\n" % data)
 
 def bundle(ui, repo, fname, dest=None, **opts):
     """create a changegroup file