How do I specify a proxy server in my .hgrc file ?
Bryan O'Sullivan
bos at serpentine.com
Wed May 31 08:39:57 CDT 2006
On Mon, 2006-05-29 at 13:29 -0700, Baker, Scott L wrote:
> I’m looking for an example .hgrc entry to setup a proxy server.
See the description of http_proxy in doc/hgrc.5.txt.
http_proxy::
Used to access web-based Mercurial repositories through a HTTP
proxy.
host;;
Host name and (optional) port of the proxy server, for example
"myproxy:8000".
no;;
Optional. Comma-separated list of host names that should bypass
the proxy.
passwd;;
Optional. Password to authenticate with at the proxy server.
user;;
Optional. User name to authenticate with at the proxy server.
Here's an example few lines from a hgrc:
[http_proxy]
host = http://localhost:8000/
> The tutorial clone command is failing (timing out).
>
> hg clone http://www.selenic.com/repo/hello my-hello
There's always the possibility that this is failing because selenic.com
is a bit wonky, but because of anything on your end.
<b
More information about the Mercurial
mailing list