diff -r de6a8cc24de3 -r a82704902db8 mercurial/revlogutils/deltas.py --- a/mercurial/revlogutils/deltas.py Mon Oct 23 14:27:07 2023 +0200 +++ b/mercurial/revlogutils/deltas.py Wed Oct 25 02:13:18 2023 +0200 @@ -1205,7 +1205,7 @@ msg = b"DBG-DELTAS-SEARCH: DISCARDED (prev size)\n" self._write_debug(msg) return None - header, data = revlog.compress(delta) + header, data = revlog._inner.compress(delta) deltalen = len(header) + len(data) offset = revlog.end(len(revlog) - 1) dist = deltalen + offset - revlog.start(chainbase) @@ -1226,7 +1226,7 @@ def _fullsnapshotinfo(self, revinfo, curr): rawtext = self.buildtext(revinfo) - data = self.revlog.compress(rawtext) + data = self.revlog._inner.compress(rawtext) compresseddeltalen = deltalen = dist = len(data[1]) + len(data[0]) deltabase = chainbase = curr snapshotdepth = 0