mercurial/localrepo.py
changeset 34825 4d5d5009bd75
parent 34824 e2ad93bcc084
child 34881 8c9b08a0c48c
equal deleted inserted replaced
34824:e2ad93bcc084 34825:4d5d5009bd75
   609         if mmapindexthreshold is not None:
   609         if mmapindexthreshold is not None:
   610             self.svfs.options['mmapindexthreshold'] = mmapindexthreshold
   610             self.svfs.options['mmapindexthreshold'] = mmapindexthreshold
   611         withsparseread = self.ui.configbool('experimental', 'sparse-read')
   611         withsparseread = self.ui.configbool('experimental', 'sparse-read')
   612         srdensitythres = float(self.ui.config('experimental',
   612         srdensitythres = float(self.ui.config('experimental',
   613                                               'sparse-read.density-threshold'))
   613                                               'sparse-read.density-threshold'))
       
   614         srminblocksize = self.ui.configbytes('experimental',
       
   615                                              'sparse-read.min-block-size')
   614         self.svfs.options['with-sparse-read'] = withsparseread
   616         self.svfs.options['with-sparse-read'] = withsparseread
   615         self.svfs.options['sparse-read-density-threshold'] = srdensitythres
   617         self.svfs.options['sparse-read-density-threshold'] = srdensitythres
       
   618         self.svfs.options['sparse-read-min-block-size'] = srminblocksize
   616 
   619 
   617         for r in self.requirements:
   620         for r in self.requirements:
   618             if r.startswith('exp-compression-'):
   621             if r.startswith('exp-compression-'):
   619                 self.svfs.options['compengine'] = r[len('exp-compression-'):]
   622                 self.svfs.options['compengine'] = r[len('exp-compression-'):]
   620 
   623