Subversion with proxies

Posted by: Andrew Glover on 2009-09-01 12:29:00.0

If you happen to reside on a network that requires proxy authentication, command-line Subversion won’t work. Unless, of course, you configure Subversion to leverage a proxy correctly. If you find yourself in such as situation (as I did) and for some unfortunate reason find yourself on a bogue Windows machine (as I did, sadly) there is a file dubbed servers found deep in your home directory (your home directory in Windows is found in the C:\Documents and Settings directory and is your user name). In the home directory there is a hidden directory called Application Data and not surprisingly, in that directory, you’ll see a Subversion directory — it’s in here that you’ll find the servers file. If you find yourself in a unix-like environment, the servers file should be found in a subversion directory in your home directory.

Open the servers file and you’ll find a section called [global]. You’ll see a series of http-proxy properties that are commented out (#) — uncomment them and fill in your values, save the file, and you’ll be good to go, baby!

You can now follow The Disco Blog on Twitter, baby!


be the first to rate this blog


About Andrew Glover

Andrew is the founder of the easyb BDD framework and the co-author of Addison Wesley's "Continuous Integration", Manning's "Groovy in Action" and "Java Testing Patterns". He is an author for multiple online publications including IBM's developerWorks and Oreilly's ONJava and ONLamp portals. He actively blogs about software at thediscoblog.com.