--- a/mercurial/debugcommands.py Mon Aug 21 16:53:16 2023 -0400
+++ b/mercurial/debugcommands.py Mon Aug 21 16:56:38 2023 -0400
@@ -799,8 +799,9 @@
The sparse read can be enabled with experimental.sparse-read = True
"""
- opts = pycompat.byteskwargs(opts)
- r = cmdutil.openrevlog(repo, b'debugdeltachain', file_, opts)
+ r = cmdutil.openrevlog(
+ repo, b'debugdeltachain', file_, pycompat.byteskwargs(opts)
+ )
index = r.index
start = r.start
length = r.length
@@ -890,7 +891,7 @@
return p1, p2, compsize, uncompsize, deltatype, chain, chain_size
- fm = ui.formatter(b'debugdeltachain', opts)
+ fm = ui.formatter(b'debugdeltachain', pycompat.byteskwargs(opts))
fm.plain(
b' rev p1 p2 chain# chainlen prev delta '