comparison 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
comparison
equal deleted inserted replaced
46238:9796cf108e4e 46239:d159d0fafa78
1082 b'sharesafe-auto-upgrade-shares', 1082 b'sharesafe-auto-upgrade-shares',
1083 default=False, 1083 default=False,
1084 ) 1084 )
1085 coreconfigitem( 1085 coreconfigitem(
1086 b'experimental', 1086 b'experimental',
1087 b'sharesafe-auto-upgrade-fail-error',
1088 default=False,
1089 )
1090 coreconfigitem(
1091 b'experimental',
1087 b'sharesafe-warn-outdated-shares', 1092 b'sharesafe-warn-outdated-shares',
1088 default=True, 1093 default=True,
1089 ) 1094 )
1090 coreconfigitem( 1095 coreconfigitem(
1091 b'experimental', 1096 b'experimental',