mercurial/debugcommands.py
changeset 50962 a0fcdcc53618
parent 50961 206d7fad2a1c
child 50963 7ef74fc79900
--- 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(