changeset 50951 | 1cfc49e342c3 |
parent 50950 | 7825175d5ad5 |
child 50952 | 45a53fc82ab2 |
--- a/mercurial/debugcommands.py Mon Aug 21 17:15:30 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 17:16:43 2023 -0400 @@ -1926,8 +1926,9 @@ ) def debugindexdot(ui, repo, file_=None, **opts): """dump an index DAG as a graphviz dot file""" - opts = pycompat.byteskwargs(opts) - r = cmdutil.openstorage(repo, b'debugindexdot', file_, opts) + r = cmdutil.openstorage( + repo, b'debugindexdot', file_, pycompat.byteskwargs(opts) + ) ui.writenoi18n(b"digraph G {\n") for i in r: node = r.node(i)