D12199: tracked-key: update the requirement value
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Thu Feb 17 10:24:45 UTC 2022
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
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,
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list