mercurial/hg.py
branchstable
changeset 13192 4d03707916d3
parent 12735 8888e56ac417
child 13193 3bbbde6f3e9f
child 13231 b335882c2f21
--- a/mercurial/hg.py	Wed Dec 22 13:25:00 2010 -0600
+++ b/mercurial/hg.py	Mon Dec 27 17:49:58 2010 +0100
@@ -545,9 +545,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