diff mercurial/localrepo.py @ 41296:d82dd55024e7 stable

mmap: backed out changeset 875d2af8cb4e There have been concrete and theoretical issues raised, this will need more work during the next cycle.
author Boris Feld <boris.feld@octobus.net>
date Fri, 18 Jan 2019 16:03:37 +0100
parents 44a51c1c8e17
children 092c5d05ba01 261d37b94d31
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Jan 18 16:02:26 2019 +0100
+++ b/mercurial/localrepo.py	Fri Jan 18 16:03:37 2019 +0100
@@ -758,7 +758,8 @@
     if 0 <= chainspan:
         options[b'maxdeltachainspan'] = chainspan
 
-    mmapindexthreshold = ui.configbytes(b'storage', b'mmap-threshold')
+    mmapindexthreshold = ui.configbytes(b'experimental',
+                                        b'mmapindexthreshold')
     if mmapindexthreshold is not None:
         options[b'mmapindexthreshold'] = mmapindexthreshold