diff mercurial/branchmap.py @ 51447:40943970b7ae stable

config: move the option to mmap rev branch cache in the storage section See previous commit for rational.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 04 Mar 2024 04:16:15 +0100
parents 02e7d79edf62
children 0239ebdd0740
line wrap: on
line diff
--- a/mercurial/branchmap.py	Mon Mar 04 04:13:33 2024 +0100
+++ b/mercurial/branchmap.py	Mon Mar 04 04:16:15 2024 +0100
@@ -732,7 +732,7 @@
 
         if self._names:
             try:
-                if repo.ui.configbool(b'format', b'mmap-revbranchcache'):
+                if repo.ui.configbool(b'storage', b'revbranchcache.mmap'):
                     with repo.cachevfs(_rbcrevs) as fp:
                         data = util.buffer(util.mmapread(fp))
                 else: