equal
deleted
inserted
replaced
606 self.svfs.options['maxdeltachainspan'] = chainspan |
606 self.svfs.options['maxdeltachainspan'] = chainspan |
607 mmapindexthreshold = self.ui.configbytes('experimental', |
607 mmapindexthreshold = self.ui.configbytes('experimental', |
608 'mmapindexthreshold') |
608 'mmapindexthreshold') |
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') |
|
612 srdensitythres = float(self.ui.config('experimental', |
|
613 'sparse-read.density-threshold')) |
|
614 self.svfs.options['with-sparse-read'] = withsparseread |
|
615 self.svfs.options['sparse-read-density-threshold'] = srdensitythres |
611 |
616 |
612 for r in self.requirements: |
617 for r in self.requirements: |
613 if r.startswith('exp-compression-'): |
618 if r.startswith('exp-compression-'): |
614 self.svfs.options['compengine'] = r[len('exp-compression-'):] |
619 self.svfs.options['compengine'] = r[len('exp-compression-'):] |
615 |
620 |