branches unparseable output fix (
issue1230)
--- 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