--- a/mercurial/commands.py Sat Aug 27 14:21:25 2005 -0700
+++ b/mercurial/commands.py Sat Aug 27 14:31:41 2005 -0700
@@ -690,12 +690,12 @@
def debugdata(ui, file_, rev):
"""dump the contents of an data file revision"""
- r = hg.revlog(hg.opener(""), file_[:-2] + ".i", file_)
+ r = hg.revlog(file, file_[:-2] + ".i", file_)
ui.write(r.revision(r.lookup(rev)))
def debugindex(ui, file_):
"""dump the contents of an index file"""
- r = hg.revlog(hg.opener(""), file_, "")
+ r = hg.revlog(file, file_, "")
ui.write(" rev offset length base linkrev" +
" nodeid p1 p2\n")
for i in range(r.count()):
@@ -706,7 +706,7 @@
def debugindexdot(ui, file_):
"""dump an index DAG as a .dot file"""
- r = hg.revlog(hg.opener(""), file_, "")
+ r = hg.revlog(file, file_, "")
ui.write("digraph G {\n")
for i in range(r.count()):
e = r.index[i]