Patchwork D12199: tracked-key: update the requirement value

login
register
mail settings
Submitter phabricator
Date Feb. 17, 2022, 10:24 a.m.
Message ID <differential-rev-PHID-DREV-7sp4r6pqmyraoorolqxy-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50535/
State New
Headers show

Comments

phabricator - Feb. 17, 2022, 10:24 a.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  We renamed the config option but we forgot to change the actual value…

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12199

AFFECTED FILES
  mercurial/requirements.py
  tests/test-status-tracked-key.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-status-tracked-key.t b/tests/test-status-tracked-key.t
--- a/tests/test-status-tracked-key.t
+++ b/tests/test-status-tracked-key.t
@@ -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
diff --git a/mercurial/requirements.py b/mercurial/requirements.py
--- a/mercurial/requirements.py
+++ b/mercurial/requirements.py
@@ -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,