# HG changeset patch # User Matt Harbison # Date 1692651398 14400 # Node ID 32fe4af9971dd555185401cf346440e8a26958fd # Parent 4135e7271b9e076e6ca98b7295bd073a95b4e307 debugdeltachain: migrate `opts` to native kwargs diff -r 4135e7271b9e -r 32fe4af9971d mercurial/debugcommands.py --- 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 '