1: If you are temporarily behind a proxy, simply, hg pull --config http_proxy.host=proxyhost:port. If your proxy requires username and password, add --config http_proxy.user=username --config http_proxy.passwd=password as well.
2: If you are behind a proxy, you may want to add the following to .hg/hgrc
[http_proxy]
host=proxyhost:port
passwd=password
user=username
No comments:
Post a Comment