diff mercurial/configitems.py @ 48771:79a967128055

dirstate-tracked-key: update the config value to match latest discussion Special cases are not special enough, we align the option name on the other. The `version` value is undocumented for now as it can only have a single value. It is supported in the code to properly detect and abort if more value are introduced in the future value. Differential Revision: https://phab.mercurial-scm.org/D12184
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 15 Feb 2022 05:20:46 +0100
parents 568f63b5a30f
children b70c9697ab41
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Nov 26 15:38:04 2021 +0100
+++ b/mercurial/configitems.py	Tue Feb 15 05:20:46 2022 +0100
@@ -1284,8 +1284,14 @@
 )
 coreconfigitem(
     b'format',
-    b'exp-dirstate-tracked-key-version',
-    default=0,
+    b'dirstate-tracked-key',
+    default=False,
+    experimental=True,
+)
+coreconfigitem(
+    b'format',
+    b'dirstate-tracked-key.version',
+    default=1,
     experimental=True,
 )
 coreconfigitem(