# HG changeset patch # User Joerg Sonnenberger # Date 2024-07-19 22:41:37 # Node ID 767f47fc9d42330e65f220d894c7b23f37d056ed # Parent 5d352e36ce069265ddbb36124101d6dd386e54f5 revlogutils: fix _chunk() reference _chunk is only found in the inner revlog object and not directly exposed outside. diff --git a/mercurial/revlogutils/rewrite.py b/mercurial/revlogutils/rewrite.py --- a/mercurial/revlogutils/rewrite.py +++ b/mercurial/revlogutils/rewrite.py @@ -615,7 +615,7 @@ def _is_revision_affected_fast(repo, fl, 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(