revlog: remove legacy usage of `_mmaplargeindex`
All core code is now getting the setting from the DataConfig object.
--- 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