Mercurial > public > mercurial-scm > hg
diff mercurial/debugcommands.py @ 39279:cb9cf42c902f
debugcommands: use openstorage() in debugindexdot
And add test coverage for changelog and manifests.
Differential Revision: https://phab.mercurial-scm.org/D4355
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 20 Aug 2018 21:01:05 +0000 |
parents | 73cf21b2e8a6 |
children | dd6bc2509bdc |
line wrap: on
line diff
--- 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)