##// END OF EJS Templates
debugrevlog: migrate `opts` to native kwargs
Matt Harbison -
r51857:8f25df13 default
parent child Browse files
Show More
@@ -3210,10 +3210,11 b' def debugrequirements(ui, repo):'
3210 )
3210 )
3211 def debugrevlog(ui, repo, file_=None, **opts):
3211 def debugrevlog(ui, repo, file_=None, **opts):
3212 """show data and statistics about a revlog"""
3212 """show data and statistics about a revlog"""
3213 opts = pycompat.byteskwargs(opts)
3213 r = cmdutil.openrevlog(
3214 r = cmdutil.openrevlog(repo, b'debugrevlog', file_, opts)
3214 repo, b'debugrevlog', file_, pycompat.byteskwargs(opts)
3215
3215 )
3216 if opts.get(b"dump"):
3216
3217 if opts.get("dump"):
3217 revlog_debug.dump(ui, r)
3218 revlog_debug.dump(ui, r)
3218 else:
3219 else:
3219 revlog_debug.debug_revlog(ui, r)
3220 revlog_debug.debug_revlog(ui, r)
General Comments 0
You need to be logged in to leave comments. Login now