revlog: drop the unused `_chunkcache` attribute
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 17 Oct 2023 05:17:02 +0200
changeset 51089 118c99c6092b
parent 51088 9d5efaefc544
child 51090 c3748f38dcd0
revlog: drop the unused `_chunkcache` attribute Apparently, some time ago, the chunk cache moved in the randomaccessfile object.
mercurial/revlog.py
--- a/mercurial/revlog.py	Tue Oct 17 04:54:22 2023 +0200
+++ b/mercurial/revlog.py	Tue Oct 17 05:17:02 2023 +0200
@@ -465,8 +465,6 @@
         self._revisioncache = None
         # Maps rev to chain base rev.
         self._chainbasecache = util.lrucachedict(100)
-        # 2-tuple of (offset, data) of raw data from the revlog at an offset.
-        self._chunkcache = (0, b'')
 
         self.index = None
         self._docket = None