A simple example using Windows XP

A subversion client is not automatically installed on Windows XP systems. Please mail ithelp@stats.ox.ac.uk if you would like a subversion client installed on your Statistics Windows desktop system.

Below are instructions for installing subversion and TortoiseSVN for Windows users. 

Using subversion on the command line 
To check that subversion is working open a command prompt window (found in All Programs -> Accessories -> Command Prompt) and enter

svn help

Before using svn you need to

set SVN_EDITOR=notepad.exe

In Windows XP to do this permanently use the Environment Variables window from the Advanced tab of the Properties screen. This time choose New in the User variables for username scroll box.

Now follow the simple Linux example.

Installing a command prompt version of SVN
1. Go to http://subversion.tigris.org/project_packages.html and download the latest version. Make sure that you download and install a version built against Apache 2.2. I downloaded svn-win32-1.4.5.zip from the Win32 packages built against Apache 2.2 page.

2. Save the .zip file, and then right click on it and select Extract All... and extract the files into the C:\Program Files folder.

3. Finally you need to add C:\Program Files\svn-win32-1.4.5\bin; to your path. Setting environment variables in Windows is tricky. These instructions work for XP.
- Right click on My Computer and select Properties.
- Click on the Advanced tab.
- Click on Environment Variables.
- In the scroll box headed System Variables select Path.
- Click on Edit.
- Add the text C:\Program Files\svn-win32-1.4.5\bin; to the beginning of the Path. Make sure you have a ; (semi colon) at the end of the path you are adding.
- Finally click on OK until the Properties window has closed.

Installing TortoiseSVN
Tortoise SVN works with Windows Explorer by making subversion commands available directly from an explorer window.