--- a/mercurial/revlog.py Tue Oct 10 11:16:07 2023 +0200
+++ b/mercurial/revlog.py Tue Oct 10 11:24:37 2023 +0200
@@ -2021,7 +2021,7 @@
l = []
ladd = l.append
- if not self._withsparseread:
+ if not self.data_config.with_sparse_read:
slicedchunks = (revs,)
else:
slicedchunks = deltautil.slicechunk(