Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 50878:1144c69c7f58
version: migrate `opts` to native kwargs
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 20 Aug 2023 02:17:38 -0400 |
parents | 6bcfd44bc1cd |
children | 727428c7e1fc |
line wrap: on
line diff
--- 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()