Mercurial > hg
diff mercurial/dispatch.py @ 29114:f1081aea19b1
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=!.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 05 May 2016 00:40:01 -0700 |
parents | b197e2aba703 |
children | e6dfb0e4eeef |
line wrap: on
line diff
--- 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)