Show More
@@ -337,6 +337,9 b' elif cmd == "debughash":' | |||||
337 | print f.encodepath(args[0]) |
|
337 | print f.encodepath(args[0]) | |
338 |
|
338 | |||
339 | elif cmd == "debugindex": |
|
339 | elif cmd == "debugindex": | |
|
340 | if ".hg" not in args[0]: | |||
|
341 | args[0] = ".hg/data/" + repo.file(args[0]).encodepath(args[0]) + "i" | |||
|
342 | ||||
340 | r = hg.revlog(open, args[0], "") |
|
343 | r = hg.revlog(open, args[0], "") | |
341 | print " rev offset length base linkrev"+\ |
|
344 | print " rev offset length base linkrev"+\ | |
342 | " p1 p2 nodeid" |
|
345 | " p1 p2 nodeid" |
General Comments 0
You need to be logged in to leave comments.
Login now