如何使代理服务器设置对Windows中的tortoisehg生效?

bei*_*bei 8 mercurial tortoisehg

我为Windows中的tortoisehg设置了代理服务器的"全局设置".当我尝试连接到bitbucket存储库时,由tortoisehg生成的命令行是hg clone --debug-- http://bitbucket.org/<path to repo>.

控制台显示如下:

using http://bitbucket.org/<path to repo>
proxying through http://172.19.6.47:8080
http auth: user <username>, password not set
sending capabilities command
Run Code Online (Sandbox Code Playgroud)

我还运行wireshark来监控流量.令我惊讶的是,流量直接转移到bitbucket.我认为它应该首先将数据包发送到代理服务器.这是否意味着我的代理服务器没有生效?我该怎么做才能使它生效?

Mar*_*nen 4

你的mercurial.ini文件应该有一个像这样的部分:

[http_proxy]
host = aproxy.somedomain.com:1234
Run Code Online (Sandbox Code Playgroud)

检查它是否存在。也许它没有正确保存?

我按照上面的方法做了一个假条目并尝试拉取,但立即无法连接到代理。