I want to check code from the repository http://code.sixapart.com/svn/perlbal/ . I can only access the the repository url by setting a proxy. I guess if I want to get the code from the same URL by svn I need to configure a proxy, too. So does anyone of you could tell me how to configure a HTTP proxy in svn?
By the way, I use the command-line svn
client under Linux.
There are two common approaches for this:
Specify
http-proxy-
options in your /etc/.subversion/servers or %APPDATA%\Subversion\servers file,Use
--config-option
command-line option to specify the samehttp-proxy-
options in single command-line you run. For example,If you are on Windows, you can also write
http-proxy-
options to Windows Registry. It's pretty handy if you need to apply proxy settings in Active Directory environment via Group Policy Objects.Most *nixen understand the environment variable 'http_proxy' when performing web requests.
should do the trick. Most http libraries check for this (and other) environment variables.
In TortoiseSVN you can configure the proxy server under Settings=> Network
You can find the instructions here. Basically you just add
to your
~/.subversion/servers
file.Have you seen the FAQ entry What if I'm behind a proxy??
For me this involved uncommenting and setting the following lines:
In windows 7, you may have to edit this file
C:\Users\<UserName>\AppData\Roaming\Subversion\servers