mercurial/commands.py
changeset 7695 deec6628e62b
parent 7693 e040f9d6b2f3
child 7734 9f73bddb9d0b
child 7737 26bdb7109170
--- a/mercurial/commands.py	Thu Jan 22 10:48:37 2009 -0700
+++ b/mercurial/commands.py	Wed Jan 21 20:29:47 2009 +0900
@@ -448,7 +448,7 @@
                     notice = ' (closed)'
                 else:
                     notice = ' (inactive)'
-                rev = str(node).rjust(31 - util.locallen(tag))
+                rev = str(node).rjust(31 - util.colwidth(tag))
                 data = tag, rev, hexfunc(hn), notice
                 ui.write("%s %s:%s%s\n" % data)
 
@@ -2833,7 +2833,7 @@
         except error.LookupError:
             r = "    ?:%s" % hn
         else:
-            spaces = " " * (30 - util.locallen(t))
+            spaces = " " * (30 - util.colwidth(t))
             if ui.verbose:
                 if repo.tagtype(t) == 'local':
                     tagtype = " local"