components/mercurial/patches/https_proxy.patch
branchs11-update
changeset 3748 4e3605a7e3c0
parent 3734 24181f5eb463
child 3751 f7b7c259669f
--- a/components/mercurial/patches/https_proxy.patch	Tue Feb 03 13:01:27 2015 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# 7029500 Mercurial doesn't work through https in snv_161
-
---- mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
-+++ mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
-@@ -247,6 +251,8 @@
-             else:
-                 # no (working) free connections were found.  Create a new one.
-                 h = http_class(host)
-+                if req._tunnel_host:
-+                        h._set_tunnel(req._tunnel_host)
-                 if DEBUG:
-                     DEBUG.info("creating new connection to %s (%d)",
-                                host, id(h))