revlogutils: fix _chunk() reference
authorJoerg Sonnenberger <joerg@bec.de>
Sat, 20 Jul 2024 00:41:37 +0200
changeset 51948 767f47fc9d42
parent 51947 5d352e36ce06
child 51949 82a94a956c54
revlogutils: fix _chunk() reference _chunk is only found in the inner revlog object and not directly exposed outside.
mercurial/revlogutils/rewrite.py
--- 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(