diff -r 53e532007878 -r cb9cf42c902f mercurial/debugcommands.py --- 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)