revlogutils: fix _chunk() reference
_chunk is only found in the inner revlog object and not directly exposed
outside.
--- a/mercurial/revlogutils/rewrite.py Mon Sep 02 22:14:38 2024 +0200
+++ b/mercurial/revlogutils/rewrite.py Sat Jul 20 00:41:37 2024 +0200
@@ -615,7 +615,7 @@
rl = fl._revlog
is_censored = lambda: rl.iscensored(filerev)
delta_base = lambda: rl.deltaparent(filerev)
- delta = lambda: rl._chunk(filerev)
+ delta = lambda: rl._inner._chunk(filerev)
full_text = lambda: rl.rawdata(filerev)
parent_revs = lambda: rl.parentrevs(filerev)
return _is_revision_affected_fast_inner(