components/mercurial/patches/https_proxy.patch
changeset 1637 54bd5ac8db85
parent 821 5450c885c205
equal deleted inserted replaced
1636:d3ad0c91bf12 1637:54bd5ac8db85
     1 # 7029500 Mercurial doesn't work through https in snv_161
     1 # 7029500 Mercurial doesn't work through https in snv_161
     2 
     2 
     3 --- mercurial-1.8.2/mercurial/keepalive.py	Thu May  3 21:06:28 2012
     3 --- mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
     4 +++ mercurial-1.8.2/mercurial/keepalive.py	Thu May  3 21:06:28 2012
     4 +++ mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
     5 @@ -247,6 +251,8 @@
     5 @@ -247,6 +251,8 @@
     6              else:
     6              else:
     7                  # no (working) free connections were found.  Create a new one.
     7                  # no (working) free connections were found.  Create a new one.
     8                  h = http_class(host)
     8                  h = http_class(host)
     9 +                if req._tunnel_host:
     9 +                if req._tunnel_host: