environment variable for host in [http_proxy] section not working?
Johnny P
jpywtora at gmail.com
Fri Apr 12 22:00:49 UTC 2013
I did not try, but wonder if you have to do something like
[http_proxy]
host = "`echo $MY_PROXY`"
On Thu, Apr 11, 2013 at 11:48 AM, Will Fiveash <will.fiveash at gmail.com>wrote:
> 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?
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20130412/d8b56765/attachment-0002.html>
More information about the Mercurial
mailing list