mercurial/localrepo.py
changeset 51683 5f37c36f36b9
parent 51682 c10fa6388dbf
child 51803 45c467d8422c
equal deleted inserted replaced
51682:c10fa6388dbf 51683:5f37c36f36b9
  1121 
  1121 
  1122     chainspan = ui.configbytes(b'experimental', b'maxdeltachainspan')
  1122     chainspan = ui.configbytes(b'experimental', b'maxdeltachainspan')
  1123     if 0 <= chainspan:
  1123     if 0 <= chainspan:
  1124         delta_config.max_deltachain_span = chainspan
  1124         delta_config.max_deltachain_span = chainspan
  1125 
  1125 
  1126     if ui.configbool(b'storage', b'revlog.mmap.index'):
  1126     has_populate = util.has_mmap_populate()
       
  1127     if ui.configbool(b'storage', b'revlog.mmap.index', has_populate):
  1127         data_config.mmap_index_threshold = ui.configbytes(
  1128         data_config.mmap_index_threshold = ui.configbytes(
  1128             b'storage',
  1129             b'storage',
  1129             b'revlog.mmap.index:size-threshold',
  1130             b'revlog.mmap.index:size-threshold',
  1130         )
  1131         )
  1131 
  1132