tags: migrate `opts` to native kwargs
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 20 Aug 2023 02:14:57 -0400
changeset 50852 44be37c200b3
parent 50851 fa675fd648a3
child 50853 6bcfd44bc1cd
tags: migrate `opts` to native kwargs
mercurial/commands.py
--- a/mercurial/commands.py	Sun Aug 20 02:13:50 2023 -0400
+++ b/mercurial/commands.py	Sun Aug 20 02:14:57 2023 -0400
@@ -7603,9 +7603,8 @@
     Returns 0 on success.
     """
 
-    opts = pycompat.byteskwargs(opts)
     ui.pager(b'tags')
-    fm = ui.formatter(b'tags', opts)
+    fm = ui.formatter(b'tags', pycompat.byteskwargs(opts))
     hexfunc = fm.hexfunc
 
     for t, n in reversed(repo.tagslist()):