通过HTTP代理svn [英] svn over HTTP proxy

查看:65
本文介绍了通过HTTP代理svn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在笔记本电脑(Ubuntu)上使用的网络使用HTTP代理(仅允许HTTP连接).
当我将svn用作诸如"http://....."之类的url时,一切都很酷(google chrome存储库工作完美),但是现在我需要使用svn://...从服务器进行svn了. ',我看到连接被拒绝.
我已经在/etc/subversion/servers中设置了代理配置,但这无济于事.
有人有意见/解决方案吗?

I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed).
When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with 'svn://....' and I see connection refused.
I've set proxy configuration in /etc/subversion/servers but it doesn't help.
Anyone have opinion/solution?

推荐答案

/etc/subversion/servers中,您设置了http-proxy-host,它与svn://无关,该svn://连接到通常在由其启动的3690端口上运行的其他服务器svnserve命令.

In /etc/subversion/servers you are setting http-proxy-host, which has nothing to do with svn:// which connects to a different server usually running on port 3690 started by svnserve command.

如果您有权访问服务器,则可以将svn+ssh://设置为解释在这里.

If you have access to the server, you can setup svn+ssh:// as explained here.

更新:您也可以尝试使用

Update: You could also try using connect-tunnel, which uses your HTTPS proxy server to tunnel connections:

connect-tunnel -P proxy.company.com:8080 -T 10234:svn.example.com:3690

然后您将使用

svn checkout svn://localhost:10234/path/to/trunk

这篇关于通过HTTP代理svn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆