There's an option "http_proxy" which should allow access through proxy, but it's not clear whether this should be in the command line, .hgrc or some global variable.

I tried it in the command line:

hg --config=http_proxy.host=proxy server

but I still get a Connection timed out error.

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

It's actually an environment variable, so try http_proxy=http://proxy_server:4242 hg ... (replace 80 with whatever port your proxy is running on.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.