Linux hg无法通过代理进行更新
我试图克隆一个位于代理后面的存储库Linux hg无法通过代理进行更新,linux,mercurial,Linux,Mercurial,我试图克隆一个位于代理后面的存储库 hg --config http_proxy.host=ipaddress:3128 pull "http://servername:8000" abort: HTTP Error 503: Service Unavailable 在代理服务器(squid)上,我可以看到它确实连接了 1315217673.018 102 ipaddress TCP_MISS/503 1601 GET http://servername:8000/? - DIRECT
hg --config http_proxy.host=ipaddress:3128 pull "http://servername:8000"
abort: HTTP Error 503: Service Unavailable
在代理服务器(squid)上,我可以看到它确实连接了
1315217673.018 102 ipaddress TCP_MISS/503 1601 GET http://servername:8000/? - DIRECT/- text/html
我在项目目录中使用以下命令启动了hg服务器:
/usr/local/bin/hg serve
正在收听(绑定到*:8000)
知道为什么mercurial失败了吗
使用
hg clone ssh://user@servername//var/www/project projectname
我刚才遇到了一个类似的错误,对我来说,结果是我指向了错误的代理服务器。遇到了类似的错误消息,我只需重新启动我的Apache就解决了。我的mercurial配置为在启动Apache服务时启动。代码: apache2ctl重新启动