mercurial/hg.py
changeset 13193 3bbbde6f3e9f
parent 13162 115a9760c382
parent 13192 4d03707916d3
child 13234 0935ff767285
--- a/mercurial/hg.py	Sun Dec 26 00:43:49 2010 +0100
+++ b/mercurial/hg.py	Mon Dec 27 17:54:45 2010 +0100
@@ -543,9 +543,12 @@
     if r:
         dst.setconfig('bundle', 'mainreporoot', r)
 
-    # copy auth and http_proxy section settings
+    # copy selected local settings to the remote ui
     for sect in ('auth', 'http_proxy'):
         for key, val in src.configitems(sect):
             dst.setconfig(sect, key, val)
+    v = src.config('web', 'cacerts')
+    if v:
+        dst.setconfig('web', 'cacerts', v)
 
     return dst