diff rust/hg-core/src/requirements.rs @ 49226: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 4450faeb52bb
children 3a53871048dc
line wrap: on
line diff
--- a/rust/hg-core/src/requirements.rs	Mon Apr 04 19:30:32 2022 +0200
+++ b/rust/hg-core/src/requirements.rs	Tue Apr 05 05:20:05 2022 +0200
@@ -100,6 +100,10 @@
 
 pub const DIRSTATE_V2_REQUIREMENT: &str = "dirstate-v2";
 
+/// A repository that uses the tracked hint dirstate file
+#[allow(unused)]
+pub const DIRSTATE_TRACKED_HINT_V1: &str = "dirstate-tracked-key-v1";
+
 /// When narrowing is finalized and no longer subject to format changes,
 /// we should move this to just "narrow" or similar.
 #[allow(unused)]