Sunday, June 28, 2009

Setting SVN through Proxy Server

Subversion is a version control system, which allows you to keep old versions of files and directories (usually source code), keep a log of who, when, and why changes occurred, etc., like CVS, RCS or SCCS. Subversion keeps a single copy of the master sources. This copy is called the source ‘‘repository’’; it contains all the information to permit extracting previous versions of those files at any time.

(copied from svn man pages)

To install svn just type this in terminal:
$ sudo apt-get intall subversion

To some setting svn through proxy server:
$ nano ~/.subversion/servers

And add this following lines:
http-proxy-host = your.proxy

http-proxy-port = 8080 #your proxy port

http-proxy-exceptions = localhost #etc

http-proxy-username = your_user

http-proxy-password = your_password

Save the file. Now your SVN will worked through your proxy server.

The other setting can be tweaked manually, just edit servers and config in the ~/.subversion directory

courtesy of Abz Notes http://abz89.wordpress.com/2009/01/23/setting-svn-through-proxy-server/

No comments:

Post a Comment