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 |