Show More
@@ -84,6 +84,7 b' const SUPPORTED: &[&str] = &[' | |||||
84 | RELATIVE_SHARED_REQUIREMENT, |
|
84 | RELATIVE_SHARED_REQUIREMENT, | |
85 | REVLOG_COMPRESSION_ZSTD, |
|
85 | REVLOG_COMPRESSION_ZSTD, | |
86 | DIRSTATE_V2_REQUIREMENT, |
|
86 | DIRSTATE_V2_REQUIREMENT, | |
|
87 | DIRSTATE_TRACKED_HINT_V1, | |||
87 | // As of this writing everything rhg does is read-only. |
|
88 | // As of this writing everything rhg does is read-only. | |
88 | // When it starts writing to the repository, it’ll need to either keep the |
|
89 | // When it starts writing to the repository, it’ll need to either keep the | |
89 | // persistent nodemap up to date or remove this entry: |
|
90 | // persistent nodemap up to date or remove this entry: |
@@ -737,7 +737,7 b' const AUTO_UPGRADES: &[((&str, &str), (&' | |||||
737 | requirements::DIRSTATE_TRACKED_HINT_V1, |
|
737 | requirements::DIRSTATE_TRACKED_HINT_V1, | |
738 | ), |
|
738 | ), | |
739 | ( |
|
739 | ( | |
740 |
(" |
|
740 | ("format", "use-dirstate-v2.automatic-upgrade-of-mismatching-repositories"), | |
741 | ("format", "use-dirstate-v2"), |
|
741 | ("format", "use-dirstate-v2"), | |
742 | requirements::DIRSTATE_V2_REQUIREMENT, |
|
742 | requirements::DIRSTATE_V2_REQUIREMENT, | |
743 | ), |
|
743 | ), |
@@ -227,6 +227,11 b' upgrade it to dirstate-tracked-hint auto' | |||||
227 | $ hg debugformat -R auto-upgrade | grep tracked |
|
227 | $ hg debugformat -R auto-upgrade | grep tracked | |
228 | tracked-hint: yes |
|
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 | downgrade it from dirstate-tracked-hint automatically |
|
235 | downgrade it from dirstate-tracked-hint automatically | |
231 |
|
236 | |||
232 | $ hg status -R auto-upgrade \ |
|
237 | $ hg status -R auto-upgrade \ |
General Comments 0
You need to be logged in to leave comments.
Login now