Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 allowed 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.

like image 379
sud03r Avatar asked Mar 19 '10 04:03

sud03r


1 Answers

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.

like image 168
Jay Avatar answered Oct 05 '22 20:10

Jay