changeset 51911:767f47fc9d42

revlogutils: fix _chunk() reference _chunk is only found in the inner revlog object and not directly exposed outside.
author Joerg Sonnenberger <joerg@bec.de>
date Sat, 20 Jul 2024 00:41:37 +0200
parents 5d352e36ce06
children 82a94a956c54
files mercurial/revlogutils/rewrite.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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(