# HG changeset patch # User Matt Harbison # Date 2023-08-21 21:33:00 # Node ID a0fcdcc536186811ce1c8f69a324084909a59e28 # Parent 206d7fad2a1c27ccd695343df77fc2867770bd41 debugrebuildfncache: migrate `opts` to native kwargs diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -3172,8 +3172,7 @@ def debugrebuilddirstate(ui, repo, rev, ) 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(