Fix debugindex formatting for large repos
authormpm@selenic.com
Sat, 14 May 2005 10:13:49 -0800
changeset 70 ce080e8eccd7
parent 69 ab03c7a52cf2
child 71 47c9a869adee
Fix debugindex formatting for large repos
hg
--- a/hg	Fri May 13 18:22:08 2005 -0800
+++ b/hg	Sat May 14 10:13:49 2005 -0800
@@ -290,11 +290,11 @@
 
 elif cmd == "debugindex":
     r = hg.revlog(open, args[0], "")
-    print "   rev    offset  length  base linkrev"+\
+    print "   rev    offset  length   base linkrev"+\
           " p1           p2           nodeid"
     for i in range(r.count()):
         e = r.index[i]
-        print "% 6d % 9d % 7d % 5d % 7d %s.. %s.. %s.." % (
+        print "% 6d % 9d % 7d % 6d % 7d %s.. %s.. %s.." % (
             i, e[0], e[1], e[2], e[3],
             hg.hex(e[4][:5]), hg.hex(e[5][:5]), hg.hex(e[6][:5]))