# HG changeset patch # User Matt Harbison # Date 1692651503 14400 # Node ID f7c35a645c2ee3818487c1b91a4d16db4d465058 # Parent 32fe4af9971dd555185401cf346440e8a26958fd debugdeltafind: migrate `opts` to native kwargs diff -r 32fe4af9971d -r f7c35a645c2e mercurial/debugcommands.py --- a/mercurial/debugcommands.py Mon Aug 21 16:56:38 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 16:58:23 2023 -0400 @@ -1026,7 +1026,6 @@ note: the process is initiated from a full text of the revision to store. """ - opts = pycompat.byteskwargs(opts) if arg_2 is None: file_ = None rev = arg_1 @@ -1036,7 +1035,9 @@ rev = int(rev) - revlog = cmdutil.openrevlog(repo, b'debugdeltachain', file_, opts) + revlog = cmdutil.openrevlog( + repo, b'debugdeltachain', file_, pycompat.byteskwargs(opts) + ) p1r, p2r = revlog.parentrevs(rev) if source == b'full':