Mercurial hg clone error - "abort: error: Name or service not known"
Posted
by Bojan Milankovic
on Stack Overflow
See other posts from Stack Overflow
or by Bojan Milankovic
Published on 2010-06-06T21:37:23Z
Indexed on
2010/06/06
21:42 UTC
Read the original article
Hit count: 597
I have installed the latest hg package available for Fedora Linux. However, hg clone reports an error.
hg clone http://localmachine001:8000/ repository
reports:
"abort: error: Name or service not known"
localmachine001 is a computer within the local network. I can ping it from my Linux box without any problems. I can also use the same http address and browse the existing code. However, hg clone does not work.
If I execute the same command from my Macintosh machine, I can easily clone the repository.
Some Internet resources recommend editing .hgrc file, and adding proxy to it:
[http_proxy]
host=proxy:8080
I have tried that without any success. Also, I assume that proxy is not needed in this case, since the hg server machine is in my local network.
Can anyone recommend me what should I do, or how could I track the problem?
Thank you in advance.
© Stack Overflow or respective owner