想要改进这个问题? Update the question所以它是on-topic堆栈溢出。
关闭 10 年前。
我在笔记本电脑 (Ubuntu) 上,其网络使用 HTTP 代理(仅允许 HTTP 连接)。
当我将 svn up 用于 'http://.....' 之类的 url 时,一切都很酷(谷歌 chrome 存储库工作完美),但现在我需要使用 'svn://... 从服务器上 svn up。 ' 我看到连接被拒绝。
我已经在/etc/subversion/servers 中设置了代理配置,但它没有帮助。
有人有意见/解决方案吗?
最佳答案
在 /etc/subversion/servers
中设置的是 http-proxy-host
,与 svn://
无关它连接到通常在由 svnserve
命令启动的端口 3690 上运行的不同服务器。
如果您可以访问服务器,您可以将 svn+ssh://
设置为 explained here.
更新:您也可以尝试使用 connect-tunnel
,它使用您的 HTTPS 代理服务器来建立隧道连接:
connect-tunnel -P proxy.company.com:8080 -T 10234:svn.example.com:3690
然后你会使用
svn checkout svn://localhost:10234/path/to/trunk
https://stackoverflow.com/questions/82530/