equal
deleted
inserted
replaced
2689 for t, n in l: |
2689 for t, n in l: |
2690 try: |
2690 try: |
2691 r = "%5d:%s" % (repo.changelog.rev(n), hex(n)) |
2691 r = "%5d:%s" % (repo.changelog.rev(n), hex(n)) |
2692 except KeyError: |
2692 except KeyError: |
2693 r = " ?:?" |
2693 r = " ?:?" |
2694 ui.write("%-30s %s\n" % (t, r)) |
2694 if ui.quiet: |
|
2695 ui.write("%s\n" % t) |
|
2696 else: |
|
2697 ui.write("%-30s %s\n" % (t, r)) |
2695 |
2698 |
2696 def tip(ui, repo, **opts): |
2699 def tip(ui, repo, **opts): |
2697 """show the tip revision |
2700 """show the tip revision |
2698 |
2701 |
2699 Show the tip revision. |
2702 Show the tip revision. |