comparison mercurial/debugcommands.py @ 50959: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
comparison
equal deleted inserted replaced
50958:206d7fad2a1c 50959:a0fcdcc53618
3170 ], 3170 ],
3171 b'', 3171 b'',
3172 ) 3172 )
3173 def debugrebuildfncache(ui, repo, **opts): 3173 def debugrebuildfncache(ui, repo, **opts):
3174 """rebuild the fncache file""" 3174 """rebuild the fncache file"""
3175 opts = pycompat.byteskwargs(opts) 3175 repair.rebuildfncache(ui, repo, opts.get("only_data"))
3176 repair.rebuildfncache(ui, repo, opts.get(b"only_data"))
3177 3176
3178 3177
3179 @command( 3178 @command(
3180 b'debugrename', 3179 b'debugrename',
3181 [(b'r', b'rev', b'', _(b'revision to debug'), _(b'REV'))], 3180 [(b'r', b'rev', b'', _(b'revision to debug'), _(b'REV'))],