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 |