mercurial/revlog.py
changeset 51049 3977068c638c
parent 51048 59c6f99723b1
child 51050 0d33f4b0c4cb
equal deleted inserted replaced
51048:59c6f99723b1 51049:3977068c638c
   626             new_header = REVLOGV0
   626             new_header = REVLOGV0
   627         else:
   627         else:
   628             new_header = REVLOG_DEFAULT_VERSION
   628             new_header = REVLOG_DEFAULT_VERSION
   629 
   629 
   630         mmapindexthreshold = None
   630         mmapindexthreshold = None
   631         if self._mmaplargeindex:
   631         if self.data_config.mmap_large_index:
   632             mmapindexthreshold = self.data_config.mmap_index_threshold
   632             mmapindexthreshold = self.data_config.mmap_index_threshold
   633         if self.feature_config.enable_ellipsis:
   633         if self.feature_config.enable_ellipsis:
   634             self._flagprocessors[REVIDX_ELLIPSIS] = ellipsisprocessor
   634             self._flagprocessors[REVIDX_ELLIPSIS] = ellipsisprocessor
   635 
   635 
   636         # revlog v0 doesn't have flag processors
   636         # revlog v0 doesn't have flag processors