diff mercurial/configitems.py @ 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 2ab79873786e
children 411d591e0a27
line wrap: on
line diff
--- a/mercurial/configitems.py	Mon Apr 04 19:30:32 2022 +0200
+++ b/mercurial/configitems.py	Tue Apr 05 05:20:05 2022 +0200
@@ -1290,6 +1290,12 @@
 )
 coreconfigitem(
     b'format',
+    b'use-dirstate-tracked-hint.automatic-upgrade-of-mismatching-repositories',
+    default=False,
+    experimental=True,
+)
+coreconfigitem(
+    b'format',
     b'dotencode',
     default=True,
 )