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