tracked-key: update the requirement value
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 17 Feb 2022 06:35:42 +0100
changeset 48791 1af95465961a
parent 48790 5ba24e886cec
child 48792 8bbb1abb9d19
tracked-key: update the requirement value We renamed the config option but we forgot to change the actual value… Differential Revision: https://phab.mercurial-scm.org/D12199
mercurial/requirements.py
tests/test-status-tracked-key.t
--- a/mercurial/requirements.py	Thu Feb 17 06:32:03 2022 +0100
+++ b/mercurial/requirements.py	Thu Feb 17 06:35:42 2022 +0100
@@ -18,7 +18,7 @@
 STORE_REQUIREMENT = b'store'
 FNCACHE_REQUIREMENT = b'fncache'
 
-DIRSTATE_TRACKED_KEY_V1 = b'exp-dirstate-tracked-key-v1'
+DIRSTATE_TRACKED_KEY_V1 = b'dirstate-tracked-key-v1'
 DIRSTATE_V2_REQUIREMENT = b'dirstate-v2'
 
 # When narrowing is finalized and no longer subject to format changes,
--- a/tests/test-status-tracked-key.t	Thu Feb 17 06:32:03 2022 +0100
+++ b/tests/test-status-tracked-key.t	Thu Feb 17 06:35:42 2022 +0100
@@ -168,7 +168,7 @@
   $ ls .hg/dirstate-tracked-key
   .hg/dirstate-tracked-key
   $ hg debugrequires | grep 'tracked'
-  exp-dirstate-tracked-key-v1
+  dirstate-tracked-key-v1
 
 downgrade
 
@@ -177,7 +177,7 @@
   
   requirements
      preserved: * (glob)
-     removed: exp-dirstate-tracked-key-v1
+     removed: dirstate-tracked-key-v1
   
   no revlogs to process
   
@@ -194,11 +194,11 @@
   
   requirements
      preserved: * (glob)
-     added: exp-dirstate-tracked-key-v1
+     added: dirstate-tracked-key-v1
   
   no revlogs to process
   
   $ ls -1 .hg/dirstate-tracked-key
   .hg/dirstate-tracked-key
   $ hg debugrequires | grep 'tracked'
-  exp-dirstate-tracked-key-v1
+  dirstate-tracked-key-v1