diff mercurial/localrepo.py @ 34520:ca5b833ce756

configitems: register the 'experimental.mmapindexthreshold' config
author Boris Feld <boris.feld@octobus.net>
date Sun, 08 Oct 2017 20:43:46 +0200
parents 0314e02efa25
children ee5f0d047b41
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Oct 08 20:42:19 2017 +0200
+++ b/mercurial/localrepo.py	Sun Oct 08 20:43:46 2017 +0200
@@ -605,7 +605,7 @@
         if 0 <= chainspan:
             self.svfs.options['maxdeltachainspan'] = chainspan
         mmapindexthreshold = self.ui.configbytes('experimental',
-                                                 'mmapindexthreshold', None)
+                                                 'mmapindexthreshold')
         if mmapindexthreshold is not None:
             self.svfs.options['mmapindexthreshold'] = mmapindexthreshold