diff -r 59c6f99723b1 -r 3977068c638c mercurial/revlog.py --- 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