# HG changeset patch # User Matt Harbison # Date 1692512258 14400 # Node ID 1144c69c7f58644fc18ac68b217f653ba4c2e1c4 # Parent 6bcfd44bc1cdb86e453ef32a001ddc62696369f0 version: migrate `opts` to native kwargs diff -r 6bcfd44bc1cd -r 1144c69c7f58 mercurial/commands.py --- a/mercurial/commands.py Sun Aug 20 02:16:41 2023 -0400 +++ b/mercurial/commands.py Sun Aug 20 02:17:38 2023 -0400 @@ -7992,10 +7992,9 @@ :bundled: Boolean. True if included in the release. :name: String. Extension name. """ - opts = pycompat.byteskwargs(opts) if ui.verbose: ui.pager(b'version') - fm = ui.formatter(b"version", opts) + fm = ui.formatter(b"version", pycompat.byteskwargs(opts)) fm.startitem() fm.write( b"ver", _(b"Mercurial Distributed SCM (version %s)\n"), util.version()