equal
deleted
inserted
replaced
833 ui.write("match: %s\n" % m(d[0])) |
833 ui.write("match: %s\n" % m(d[0])) |
834 |
834 |
835 def debugindex(ui, file_): |
835 def debugindex(ui, file_): |
836 """dump the contents of an index file""" |
836 """dump the contents of an index file""" |
837 r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) |
837 r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) |
838 ui.write(" rev offset length base linkrev" + |
838 ui.write(" rev offset length base linkrev" |
839 " nodeid p1 p2\n") |
839 " nodeid p1 p2\n") |
840 for i in r: |
840 for i in r: |
841 node = r.node(i) |
841 node = r.node(i) |
842 try: |
842 try: |
843 pp = r.parents(node) |
843 pp = r.parents(node) |