mercurial/debugcommands.py
changeset 39279 cb9cf42c902f
parent 39244 73cf21b2e8a6
child 39281 dd6bc2509bdc
--- a/mercurial/debugcommands.py	Tue Aug 14 16:28:21 2018 +0000
+++ b/mercurial/debugcommands.py	Mon Aug 20 21:01:05 2018 +0000
@@ -1178,7 +1178,7 @@
 def debugindexdot(ui, repo, file_=None, **opts):
     """dump an index DAG as a graphviz dot file"""
     opts = pycompat.byteskwargs(opts)
-    r = cmdutil.openrevlog(repo, 'debugindexdot', file_, opts)
+    r = cmdutil.openstorage(repo, 'debugindexdot', file_, opts)
     ui.write(("digraph G {\n"))
     for i in r:
         node = r.node(i)