Mercurial > hg-stable
changeset 50958:32fe4af9971d
debugdeltachain: migrate `opts` to native kwargs
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 21 Aug 2023 16:56:38 -0400 |
parents | 4135e7271b9e |
children | f7c35a645c2e |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Mon Aug 21 16:53:16 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 16:56:38 2023 -0400 @@ -799,8 +799,9 @@ The sparse read can be enabled with experimental.sparse-read = True """ - opts = pycompat.byteskwargs(opts) - r = cmdutil.openrevlog(repo, b'debugdeltachain', file_, opts) + r = cmdutil.openrevlog( + repo, b'debugdeltachain', file_, pycompat.byteskwargs(opts) + ) index = r.index start = r.start length = r.length @@ -890,7 +891,7 @@ return p1, p2, compsize, uncompsize, deltatype, chain, chain_size - fm = ui.formatter(b'debugdeltachain', opts) + fm = ui.formatter(b'debugdeltachain', pycompat.byteskwargs(opts)) fm.plain( b' rev p1 p2 chain# chainlen prev delta '