Mercurial > public > mercurial-scm > hg
comparison mercurial/revlog.py @ 51082:118c99c6092b
revlog: drop the unused `_chunkcache` attribute
Apparently, some time ago, the chunk cache moved in the randomaccessfile object.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 17 Oct 2023 05:17:02 +0200 |
parents | 9d5efaefc544 |
children | c3748f38dcd0 |
comparison
equal
deleted
inserted
replaced
51081:9d5efaefc544 | 51082:118c99c6092b |
---|---|
463 | 463 |
464 # 3-tuple of (node, rev, text) for a raw revision. | 464 # 3-tuple of (node, rev, text) for a raw revision. |
465 self._revisioncache = None | 465 self._revisioncache = None |
466 # Maps rev to chain base rev. | 466 # Maps rev to chain base rev. |
467 self._chainbasecache = util.lrucachedict(100) | 467 self._chainbasecache = util.lrucachedict(100) |
468 # 2-tuple of (offset, data) of raw data from the revlog at an offset. | |
469 self._chunkcache = (0, b'') | |
470 | 468 |
471 self.index = None | 469 self.index = None |
472 self._docket = None | 470 self._docket = None |
473 self._nodemap_docket = None | 471 self._nodemap_docket = None |
474 # Mapping of partial identifiers to full nodes. | 472 # Mapping of partial identifiers to full nodes. |