changeset 51046 | 3977068c638c |
parent 51045 | 59c6f99723b1 |
child 51047 | 0d33f4b0c4cb |
--- a/mercurial/revlog.py Tue Oct 10 11:02:00 2023 +0200 +++ b/mercurial/revlog.py Tue Oct 10 11:02:24 2023 +0200 @@ -628,7 +628,7 @@ new_header = REVLOG_DEFAULT_VERSION mmapindexthreshold = None - if self._mmaplargeindex: + if self.data_config.mmap_large_index: mmapindexthreshold = self.data_config.mmap_index_threshold if self.feature_config.enable_ellipsis: self._flagprocessors[REVIDX_ELLIPSIS] = ellipsisprocessor