debugrebuildfncache: migrate `opts` to native kwargs
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 21 Aug 2023 17:33:00 -0400
changeset 50962 a0fcdcc53618
parent 50961 206d7fad2a1c
child 50963 7ef74fc79900
debugrebuildfncache: migrate `opts` to native kwargs
mercurial/debugcommands.py
--- a/mercurial/debugcommands.py	Mon Aug 21 17:31:53 2023 -0400
+++ b/mercurial/debugcommands.py	Mon Aug 21 17:33:00 2023 -0400
@@ -3172,8 +3172,7 @@
 )
 def debugrebuildfncache(ui, repo, **opts):
     """rebuild the fncache file"""
-    opts = pycompat.byteskwargs(opts)
-    repair.rebuildfncache(ui, repo, opts.get(b"only_data"))
+    repair.rebuildfncache(ui, repo, opts.get("only_data"))
 
 
 @command(