# HG changeset patch # User Matt Harbison # Date 1692652185 14400 # Node ID 5dc20e1f0518d4c4a1faad0dcb6f3515f9c455f6 # Parent 8e5083590cfe93e22f722ed8a814038ab330be7b debugextensions: migrate `opts` to native kwargs diff -r 8e5083590cfe -r 5dc20e1f0518 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Mon Aug 21 17:06:47 2023 -0400 +++ b/mercurial/debugcommands.py Mon Aug 21 17:09:45 2023 -0400 @@ -1473,10 +1473,9 @@ @command(b'debugextensions', cmdutil.formatteropts, [], optionalrepo=True) def debugextensions(ui, repo, **opts): '''show information about active extensions''' - opts = pycompat.byteskwargs(opts) exts = extensions.extensions(ui) hgver = util.version() - fm = ui.formatter(b'debugextensions', opts) + fm = ui.formatter(b'debugextensions', pycompat.byteskwargs(opts)) for extname, extmod in sorted(exts, key=operator.itemgetter(0)): isinternal = extensions.ismoduleinternal(extmod) extsource = None