diff mercurial/configitems.py @ 44870:d688a8d537b9

nodemap: move the main switch to the `format` section The config to enable persistent nodemap is now `format.use-persistent-nodemap`. However the option remain marked as experimental because it only improve performance for people using the rust extensions. Differential Revision: https://phab.mercurial-scm.org/D8419
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 14 Apr 2020 03:18:14 +0200
parents 6493f0a567c2
children 3cfcbb219496
line wrap: on
line diff
--- a/mercurial/configitems.py	Tue Apr 14 03:27:04 2020 +0200
+++ b/mercurial/configitems.py	Tue Apr 14 03:18:14 2020 +0200
@@ -675,9 +675,6 @@
     b'experimental', b'rust.index', default=False,
 )
 coreconfigitem(
-    b'experimental', b'exp-persistent-nodemap', default=False,
-)
-coreconfigitem(
     b'experimental', b'exp-persistent-nodemap.mmap', default=True,
 )
 coreconfigitem(
@@ -787,6 +784,9 @@
     b'format', b'usestore', default=True,
 )
 coreconfigitem(
+    b'format', b'use-persistent-nodemap', default=False, experimental=True
+)
+coreconfigitem(
     b'format',
     b'exp-use-copies-side-data-changeset',
     default=False,