components/mercurial/patches/https_proxy.patch
author Danek Duvall <danek.duvall@oracle.com>
Thu, 14 Jul 2011 10:55:47 -0700
changeset 400 675bae2e4833
parent 196 816e398e992c
child 821 5450c885c205
permissions -rw-r--r--
7060246 Update Mercurial to 1.8.4

# 7029500 Mercurial doesn't work through https in snv_161

--- mercurial-1.8.2/mercurial/keepalive.py.orig	Wed Jun  1 21:32:43 2011
+++ mercurial-1.8.2/mercurial/keepalive.py	Fri Apr  1 11:07:32 2011
@@ -249,6 +249,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))