diff mercurial/hg.py @ 29594:e417664a3339

ssl: remove special case of web.cacerts=! from remoteui() It was introduced by b76d8c641746, which is no longer necessary thanks to recent refactoring of sslutil including ef316c653b7f.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 05 Jun 2016 12:18:20 +0900
parents f21e0d91d386
children 3fde328d0913
line wrap: on
line diff
--- a/mercurial/hg.py	Sun Jul 17 15:13:51 2016 -0700
+++ b/mercurial/hg.py	Sun Jun 05 12:18:20 2016 +0900
@@ -927,9 +927,7 @@
         for key, val in src.configitems(sect):
             dst.setconfig(sect, key, val, 'copied')
     v = src.config('web', 'cacerts')
-    if v == '!':
-        dst.setconfig('web', 'cacerts', v, 'copied')
-    elif v:
+    if v:
         dst.setconfig('web', 'cacerts', util.expandpath(v), 'copied')
 
     return dst