Today i have an issue. I cant do push/pulls in my Debian(on VM VirtualBox) using Mercurial HG. What I have:
The problem is: when I try to do a push, I get a bunch of errors Name or service not known
. To solve it I tried to edit hgrc
file by replacing this:
[paths]
default = http://SERVER_NAME_STRING
by this:
[paths]
default = http://SERVER_IP_ADRES
And it works! But I have to do it manually for each of hundreds hgrc
files in my workspace tree. Can I fix this problem without editing of all of this files? (no matter manually or BASH scripts etc)
SOLUTION
There is 2 options:
/etc/hosts
file and add new string of settings, by format IP_ADDRESS
DOMAIN
After this action you will be able to ping your SVC server by domain.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.