How to use Subversion

Get a repository

The Subversion repositories are stored and accessible on https://svn.iac.ethz.ch. You can ask for a user repository which will be only accessible by you. Or you can ask for a project repository which can be accessible by other users too. If your repository should be accessible without authentication (anonymous read access) ask for a public repository. Send a mail to urs.beyerle@env.ethz.ch to ask for a new repository.

For a project and public repository the following information is needed:

It's possible to enable email notification for repositories. If enabled, the users will get an email in case something was changed in the repository (file added, file modified, etc).

Location of repositories

Browse the repositories

You can browse the repositories with a normal web browser. Two different views are available:

Subversion clients

Access the repositories with WebDAV

With WebDAV you can access the repository like a normal file system. If you remove, add or modify a file, a new revision of your repository is automatically created.

Email notification

Working with Repositories using svn command

For more info about common tasks see http://svnbook.red-bean.com/en/1.4/svn.tour.cycle.html

Important note about security

Per default the Linux svn client is caching your password. This can be quite useful, since you don't have to type in your password every time you check out or commit a change. However, the password is stored in cleartext. Per default the folder storing the password ~/.subversion/auth is only readable by you. You should definitely not change this.

Nevertheless, I would recommend to disable the password caching of the svn command completely by uncomment the following line in your ~/.subversion/config file.

store-passwords = no

Afterwards, remove all stored svn passwords with

rm ~/.subversion/auth/svn.simple/*

spacer