##// END OF EJS Templates
Fix debugindex formatting for large repos
mpm@selenic.com -
r70:ce080e8e default
parent child Browse files
Show More
@@ -290,11 +290,11 b' elif cmd == "debughash":'
290
290
291 elif cmd == "debugindex":
291 elif cmd == "debugindex":
292 r = hg.revlog(open, args[0], "")
292 r = hg.revlog(open, args[0], "")
293 print " rev offset length base linkrev"+\
293 print " rev offset length base linkrev"+\
294 " p1 p2 nodeid"
294 " p1 p2 nodeid"
295 for i in range(r.count()):
295 for i in range(r.count()):
296 e = r.index[i]
296 e = r.index[i]
297 print "% 6d % 9d % 7d % 5d % 7d %s.. %s.. %s.." % (
297 print "% 6d % 9d % 7d % 6d % 7d %s.. %s.. %s.." % (
298 i, e[0], e[1], e[2], e[3],
298 i, e[0], e[1], e[2], e[3],
299 hg.hex(e[4][:5]), hg.hex(e[5][:5]), hg.hex(e[6][:5]))
299 hg.hex(e[4][:5]), hg.hex(e[5][:5]), hg.hex(e[6][:5]))
300
300
General Comments 0
You need to be logged in to leave comments. Login now