##// END OF EJS Templates
rhg: fix bugs around [use-dirstate-tracked-hint] and repo auto-upgrade...
Arseniy Alekseyev -
r50395:3a538710 stable
parent child Browse files
Show More
@@ -84,6 +84,7 b' const SUPPORTED: &[&str] = &['
84 84 RELATIVE_SHARED_REQUIREMENT,
85 85 REVLOG_COMPRESSION_ZSTD,
86 86 DIRSTATE_V2_REQUIREMENT,
87 DIRSTATE_TRACKED_HINT_V1,
87 88 // As of this writing everything rhg does is read-only.
88 89 // When it starts writing to the repository, it’ll need to either keep the
89 90 // persistent nodemap up to date or remove this entry:
@@ -737,7 +737,7 b' const AUTO_UPGRADES: &[((&str, &str), (&'
737 737 requirements::DIRSTATE_TRACKED_HINT_V1,
738 738 ),
739 739 (
740 ("use-dirstate-v2", "automatic-upgrade-of-mismatching-repositories"),
740 ("format", "use-dirstate-v2.automatic-upgrade-of-mismatching-repositories"),
741 741 ("format", "use-dirstate-v2"),
742 742 requirements::DIRSTATE_V2_REQUIREMENT,
743 743 ),
@@ -227,6 +227,11 b' upgrade it to dirstate-tracked-hint auto'
227 227 $ hg debugformat -R auto-upgrade | grep tracked
228 228 tracked-hint: yes
229 229
230 rhg supports this feature
231
232 $ hg status -R auto-upgrade \
233 > --config format.use-dirstate-tracked-hint=yes --config rhg.on-unsupported=abort
234
230 235 downgrade it from dirstate-tracked-hint automatically
231 236
232 237 $ hg status -R auto-upgrade \
General Comments 0
You need to be logged in to leave comments. Login now