开发者

Subversion: svn protocol with HTTP/HTTPS proxy

I need to do a svn checkout,say

svn checkout svn://XYZ.com/trunk.

I am using the svn client from behind the proxy. I had accessed other repositries using the http protocol in past but with svn protocol,it fails with "Connection Refused", reason I think being the port not all开发者_JS百科owed by the proxy.Nonetheless, the HTTP protocol is not supported on the server.

However, svn+ssh gets connected but it prompts for an account at that server which I don't have?

Is there any way out other than requesting for an account?

Note that I can't affect the settings of the proxy server.


SVN creates a file that on Windows is called "C:\Documents and Settings\mjohansen\Application Data\Subversion\servers". (I'm not sure where it goes on Linux off the top of my head.) This file contains a number of configuration parameters, including "http-proxy-host", "http-proxy-port", etc. By default they are commented out. You can uncomment them and fill in your proxy information.

I presume this only applies to certain SVN clients. But I find that this same file is used by the standard SVN command line app, Tortoise, and the Eclipse Subclipse SVN plug-in.

All this assumes that your problem is indeed proxy servers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜