hg clone using mercurial throws "getaddrinfo failed" error (windows 7)
Sounds like you might need to tell Mercurial what your proxy settings are. First hit for "mercurial proxy":
http://www.markhneedham.com/blog/2009/05/13/mercurial-pulling-from-behind-a-proxy/
If you need to figure out what settings to use, you should probably look at what your IE settings are, e.g. by going to the Internet Properties | Connections | LAN Settings
dialog.
Just remove the http_proxy
environment variable. (worked for me, after of 5 hours of headache).
If you find yourself on this page because you've hit a getaddr
error when using the hg-git
plugin with a username, it is likely that you've hit the Fails with username in URL (getaddreinfo failed) bug.
Thus:
$ hg clone https://foo@stash/
abort: error: getaddrinfo failed
$ hg clone https://stash/
http authorization required for http://stash.....
realm: Atlassian Stash
user: ...
(Doesn't solve the original user's issue, but can be a cause of the same symptoms).
Pls check whether you can access the repository directly first. e.g from web browser