Mercurial > hg
diff rust/rhg/src/main.rs @ 49194:e4b31016e194
auto-upgrade: introduce a way to auto-upgrade to/from tracked-hint
This is similar to what we introduced for `share-safe`, but apply to the
tracked-hint feature.
Differential Revision: https://phab.mercurial-scm.org/D12613
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 05 Apr 2022 05:20:05 +0200 |
parents | 2ab79873786e |
children | 411d591e0a27 |
line wrap: on
line diff
--- a/rust/rhg/src/main.rs Mon Apr 04 19:30:32 2022 +0200 +++ b/rust/rhg/src/main.rs Tue Apr 05 05:20:05 2022 +0200 @@ -731,6 +731,11 @@ ("format", "use-share-safe"), requirements::SHARESAFE_REQUIREMENT, ), + ( + ("format", "use-dirstate-tracked-hint.automatic-upgrade-of-mismatching-repositories"), + ("format", "use-dirstate-tracked-hint"), + requirements::DIRSTATE_TRACKED_HINT_V1, + ), ]; /// Mercurial allows users to automatically upgrade their repository.