Wednesday, February 21, 2007

Accessing SVN https repository through proxy

the title says it all .. I was trying to enter an SVN repository from within UTP .. but that requires proxy ... exporting http_proxy and https_proxy doesnt give any results ... so I googled for a while .. however, it seems like not many people having the same problem as me and trying to find a quick guide took some time .. and then I found this page from apache's website
http://incubator.apache.org/agila/svn.html

Problem solved .. yay~!


The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)

There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.

Example : Edit the 'servers' file and add something like :

[global]
http-proxy-host = your.proxy.name
http-proxy-port = 3128
Post a Comment