mercurial/revlog.py
changeset 51060 f71f07a679b4
parent 51059 47d43efda8b7
child 51061 7c2dc75cdc0f
--- a/mercurial/revlog.py	Tue Oct 10 11:24:37 2023 +0200
+++ b/mercurial/revlog.py	Tue Oct 10 11:27:39 2023 +0200
@@ -2077,7 +2077,7 @@
 
     def issnapshot(self, rev):
         """tells whether rev is a snapshot"""
-        if not self._sparserevlog:
+        if not self.delta_config.sparse_revlog:
             return self.deltaparent(rev) == nullrev
         elif hasattr(self.index, 'issnapshot'):
             # directly assign the method to cache the testing and access