dispatch: stop setting web.cacerts=! to indicate --insecure
Consumers needing to know if --insecure was used have already
transitioned to using ui.insecureconnections. The previous
patch removed the last meaningful consumer looking for
web.cacerts=!.
--- a/mercurial/dispatch.py Thu May 05 00:38:18 2016 -0700
+++ b/mercurial/dispatch.py Thu May 05 00:40:01 2016 -0700
@@ -830,8 +830,6 @@
if cmdoptions.get('insecure', False):
for ui_ in uis:
ui_.insecureconnections = True
- # TODO remove once consumers are gone.
- ui_.setconfig('web', 'cacerts', '!', '--insecure')
if options['version']:
return commands.version_(ui)