mercurial/commands.py
changeset 6816 d8159dd15db3
parent 6803 4a8b9cf62a6b
parent 6814 88804fad71bc
child 6843 b114a8c7998f
equal deleted inserted replaced
6812:fdf5980bd010 6816:d8159dd15db3
   387     for isactive, node, tag in branches:
   387     for isactive, node, tag in branches:
   388         if (not active) or isactive:
   388         if (not active) or isactive:
   389             if ui.quiet:
   389             if ui.quiet:
   390                 ui.write("%s\n" % tag)
   390                 ui.write("%s\n" % tag)
   391             else:
   391             else:
   392                 rev = str(node).rjust(32 - util.locallen(tag))
   392                 rev = str(node).rjust(31 - util.locallen(tag))
   393                 isinactive = ((not isactive) and " (inactive)") or ''
   393                 isinactive = ((not isactive) and " (inactive)") or ''
   394                 data = tag, rev, hexfunc(repo.lookup(node)), isinactive
   394                 data = tag, rev, hexfunc(repo.lookup(node)), isinactive
   395                 ui.write("%s%s:%s%s\n" % data)
   395                 ui.write("%s %s:%s%s\n" % data)
   396 
   396 
   397 def bundle(ui, repo, fname, dest=None, **opts):
   397 def bundle(ui, repo, fname, dest=None, **opts):
   398     """create a changegroup file
   398     """create a changegroup file
   399 
   399 
   400     Generate a compressed changegroup file collecting changesets not
   400     Generate a compressed changegroup file collecting changesets not