--- a/mercurial/debugcommands.py Mon Aug 21 17:46:44 2023 -0400
+++ b/mercurial/debugcommands.py Mon Aug 21 17:47:52 2023 -0400
@@ -3917,10 +3917,9 @@
)
def debug_revlog_stats(ui, repo, **opts):
"""display statistics about revlogs in the store"""
- opts = pycompat.byteskwargs(opts)
- changelog = opts[b"changelog"]
- manifest = opts[b"manifest"]
- filelogs = opts[b"filelogs"]
+ changelog = opts["changelog"]
+ manifest = opts["manifest"]
+ filelogs = opts["filelogs"]
if changelog is None and manifest is None and filelogs is None:
changelog = True
@@ -3928,7 +3927,7 @@
filelogs = True
repo = repo.unfiltered()
- fm = ui.formatter(b'debug-revlog-stats', opts)
+ fm = ui.formatter(b'debug-revlog-stats', pycompat.byteskwargs(opts))
revlog_debug.debug_revlog_stats(repo, fm, changelog, manifest, filelogs)
fm.end()