changeset 50842:55a9ea786291

paths: migrate `opts` to native kwargs
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 20 Aug 2023 01:35:14 -0400
parents b4425b5bd80e
children 7ef29f8b723d
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Aug 20 01:32:22 2023 -0400
+++ b/mercurial/commands.py	Sun Aug 20 01:35:14 2023 -0400
@@ -5196,12 +5196,10 @@
     Returns 0 on success.
     """
 
-    opts = pycompat.byteskwargs(opts)
-
     pathitems = urlutil.list_paths(ui, search)
     ui.pager(b'paths')
 
-    fm = ui.formatter(b'paths', opts)
+    fm = ui.formatter(b'paths', pycompat.byteskwargs(opts))
     if fm.isplain():
         hidepassword = urlutil.hidepassword
     else: