##// END OF EJS Templates
configitems: register the 'experimental.mmapindexthreshold' config
Boris Feld -
r34521:ca5b833c default
parent child Browse files
Show More
@@ -197,6 +197,9 b" coreconfigitem('experimental', 'editortm"
197 coreconfigitem('experimental', 'maxdeltachainspan',
197 coreconfigitem('experimental', 'maxdeltachainspan',
198 default=-1,
198 default=-1,
199 )
199 )
200 coreconfigitem('experimental', 'mmapindexthreshold',
201 default=None,
202 )
200 coreconfigitem('experimental', 'nonnormalparanoidcheck',
203 coreconfigitem('experimental', 'nonnormalparanoidcheck',
201 default=False,
204 default=False,
202 )
205 )
@@ -605,7 +605,7 b' class localrepository(object):'
605 if 0 <= chainspan:
605 if 0 <= chainspan:
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', None)
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
611
General Comments 0
You need to be logged in to leave comments. Login now