# HG changeset patch # User Matt Harbison # Date 1692653345 14400 # Node ID 91c32fccd2827eb77d73f7ba8f58f495df4fdbf1 # Parent 55c28ffadb146b3828b67d67ffac349d2c751506 debugp1copies: migrate `opts` to native kwargs diff -r 55c28ffadb14 -r 91c32fccd282 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Mon Aug 21 17:26:56 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 17:29:05 2023 -0400 @@ -2827,8 +2827,7 @@ def debugp1copies(ui, repo, **opts): """dump copy information compared to p1""" - opts = pycompat.byteskwargs(opts) - ctx = scmutil.revsingle(repo, opts.get(b'rev'), default=None) + ctx = scmutil.revsingle(repo, opts.get('rev'), default=None) for dst, src in ctx.p1copies().items(): ui.write(b'%s -> %s\n' % (src, dst))