diff mercurial/configitems.py @ 46239:d159d0fafa78

sharesafe: introduce config to disallow outdated shares if upgrade fails After this patch, we have config option to control all aspects of shares when share source is upgraded or downgraded. Differential Revision: https://phab.mercurial-scm.org/D9692
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 08 Jan 2021 21:47:31 +0530
parents 9796cf108e4e
children b1ae5383602d
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Jan 08 21:34:16 2021 +0530
+++ b/mercurial/configitems.py	Fri Jan 08 21:47:31 2021 +0530
@@ -1084,6 +1084,11 @@
 )
 coreconfigitem(
     b'experimental',
+    b'sharesafe-auto-upgrade-fail-error',
+    default=False,
+)
+coreconfigitem(
+    b'experimental',
     b'sharesafe-warn-outdated-shares',
     default=True,
 )