changeset 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 953839de96ab
children 2c4dc91c4c54
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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