environment variable for host in [http_proxy] section not working?

Will Fiveash will.fiveash at gmail.com
Thu Apr 11 18:48:47 UTC 2013


I did the following:

1. $ export  MY_PROXY=http://foo.com:80/

2. edit ~/.hgrc:
[http_proxy]
host = $MY_PROXY

3. $ hg incoming
abort: error: node name or service name not known

If I set host like so in .hgrc:

[http_proxy]
host = http://foo.com:80/

then hg incoming works.  I'm running Mercurial Distributed SCM (version 
2.2.1) on Solaris 11u1.  Is this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20130411/130992d7/attachment-0002.html>


More information about the Mercurial mailing list