changeset 50962:a0fcdcc53618

debugrebuildfncache: migrate `opts` to native kwargs
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 21 Aug 2023 17:33:00 -0400
parents 206d7fad2a1c
children 7ef74fc79900
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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(