[issue2451] http_proxy env variable not respected for subrepository cloning

Håvard Berland <bugs@mercurial.selenic.com> at mercurial.selenic.com Håvard Berland <bugs@mercurial.selenic.com> at mercurial.selenic.com
Mon Oct 25 12:49:04 UTC 2010


New submission from Håvard Berland <havb at statoil.com>:

I have $http_proxy set to be able to go through our firewall, and it works 
for regular http: repositories. If these repositories refer to additional 
http: (sub)repositories, the environment variable http_proxy apparently is 
not used, as hg hangs while pulling from the subrepo (traceback from ctrl-
c when it hangs gives:
  File "/usr/lib64/python2.4/httplib.py", line 626, in connect
    self.sock.connect(sa)
)

However, if I state the proxy configuration explicitly to hg, like

$ hg --config http_proxy.host=www.ourproxy.com:80 clone 
http://public.ict.sintef.no/opm/hg/dune-cornerpoint

then it can pull the subrepository without any problems.

Using hg version 1.6.3, Redhat Enterprise Linux 5.4, Python 2.4.

----------
messages: 14142
nosy: berland
priority: bug
status: unread
title: http_proxy env variable not respected for subrepository cloning

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2451>
____________________________________________________


More information about the Mercurial-devel mailing list