Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 3772:73860ffbe798
Handle transcoding of tags
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 03 Dec 2006 16:16:33 -0600 |
parents | 1861fa38a6a7 |
children | b1eeaeb936ae |
comparison
equal
deleted
inserted
replaced
3771:29d91e57d055 | 3772:73860ffbe798 |
---|---|
2208 except KeyError: | 2208 except KeyError: |
2209 r = " ?:?" | 2209 r = " ?:?" |
2210 if ui.quiet: | 2210 if ui.quiet: |
2211 ui.write("%s\n" % t) | 2211 ui.write("%s\n" % t) |
2212 else: | 2212 else: |
2213 ui.write("%-30s %s\n" % (t, r)) | 2213 t = util.localsub(t, 30) |
2214 t += " " * (30 - util.locallen(t)) | |
2215 ui.write("%s %s\n" % (t, r)) | |
2214 | 2216 |
2215 def tip(ui, repo, **opts): | 2217 def tip(ui, repo, **opts): |
2216 """show the tip revision | 2218 """show the tip revision |
2217 | 2219 |
2218 Show the tip revision. | 2220 Show the tip revision. |