Subverion (SVN) through proxy

Extracted from http://www.mikepot.com/1544.html

Making SVN work through the Squid proxy server needs special settings in the configuration file.

People that use the Squid proxy server on their networks run into a little snag when trying to access an SVN database through it. SVN over http requires more than the usual GET and POST. Squid by default isn't configured to allow the extra http commands that SVN uses. But you can easily make a change to Squid's configuration file to fix it.

/etc/subversion/servers, or a file called .subversion or something in the home directory:

[global]
http-proxy-host=proxyhost
http-proxy-port=3128

In my case I'm running squid on the default port 3128.
Squid had to be convinced it was ok to accept a few extra http commands:
extension_methods REPORT MERGE MKACTIVITY CHECKOUT

ps: my website is getting a lot of hits from people searching for svn proxy problems. I'm honored to be helpful.
I've used various different version control systems. I think people should look at decentralized systems. Mercurial's HG is pretty good, but GIT is even better.
Check out this website about GIT.
People that know a lot about version control systems, think that both CVS and SVN sucks, and if you look closer, you'll understand why. I was surprised to see how easy and fast GIT works, and I'm joining the club of advocates that claim it really is the best version control system.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值