Mercurial > hg-stable
changeset 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 | 5b9577edf745 |
children | ef316c653b7f |
files | mercurial/dispatch.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
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)