##// END OF EJS Templates
requirements: do not warn about dropping share-safe, unless explicitly set...
marmoute -
r49512:4c1135d1 default
parent child Browse files
Show More
@@ -3719,13 +3719,13 b' def checkrequirementscompat(ui, requirem'
3719 )
3719 )
3720
3720
3721 if requirementsmod.SHARESAFE_REQUIREMENT in requirements:
3721 if requirementsmod.SHARESAFE_REQUIREMENT in requirements:
3722 ui.warn(
3722 if ui.hasconfig(b'format', b'use-share-safe'):
3723 _(
3723 msg = _(
3724 b"ignoring enabled 'format.use-share-safe' config because "
3724 b"ignoring enabled 'format.use-share-safe' config because "
3725 b"it is incompatible with disabled 'format.usestore'"
3725 b"it is incompatible with disabled 'format.usestore'"
3726 b" config\n"
3726 b" config\n"
3727 )
3727 )
3728 )
3728 ui.warn(msg)
3729 dropped.add(requirementsmod.SHARESAFE_REQUIREMENT)
3729 dropped.add(requirementsmod.SHARESAFE_REQUIREMENT)
3730
3730
3731 return dropped
3731 return dropped
General Comments 0
You need to be logged in to leave comments. Login now