components/mercurial/patches/https_proxy.patch
author Danek Duvall <danek.duvall@oracle.com>
Fri, 01 Apr 2011 09:53:52 -0700
changeset 196 816e398e992c
parent 150 2e044e9ef7de
child 400 675bae2e4833
permissions -rw-r--r--
6907515 mercurial 1.8.2 7025423 timestamps are not added to .py files

# 7029500 Mercurial doesn't work through https in snv_161

--- mercurial-1.8.2/mercurial/keepalive.py.orig	Fri Apr  1 17:41:52 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))