Show More
@@ -1305,10 +1305,11 b' def debugindexdot(ui, file_):' | |||||
1305 | r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_, "", 0) |
|
1305 | r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_, "", 0) | |
1306 | ui.write("digraph G {\n") |
|
1306 | ui.write("digraph G {\n") | |
1307 | for i in range(r.count()): |
|
1307 | for i in range(r.count()): | |
1308 |
e = r. |
|
1308 | node = r.node(i) | |
1309 | ui.write("\t%d -> %d\n" % (r.rev(e[4]), i)) |
|
1309 | pp = r.parents(node) | |
1310 | if e[5] != nullid: |
|
1310 | ui.write("\t%d -> %d\n" % (r.rev(pp[0]), i)) | |
1311 | ui.write("\t%d -> %d\n" % (r.rev(e[5]), i)) |
|
1311 | if pp[1] != nullid: | |
|
1312 | ui.write("\t%d -> %d\n" % (r.rev(pp[1]), i)) | |||
1312 | ui.write("}\n") |
|
1313 | ui.write("}\n") | |
1313 |
|
1314 | |||
1314 | def debugrename(ui, repo, file, rev=None): |
|
1315 | def debugrename(ui, repo, file, rev=None): |
General Comments 0
You need to be logged in to leave comments.
Login now