Environment & general use

All operations introduced in the documentation page on using subversion repositories on the VSC clusters work as illustrated therein. The repository's URI can be conveniently assigned to an environment variable

$ export SVN="svn+ssh://userid@vsc.login.node/data/leuven/300/vsc30000/svn-repo"

where userid should be replaced by your own VSC user ID, and vsc.login.node to the appropriate login node for the cluster the repository is on. In the above, it is assumed that the SVN repository you are going to use is in your VSC data directory (here shown for user vsc30000) and is called svn-repo. This should be changed appropriately.

Checking out a project from a VSC cluster repository

To check out the simulation project to a directory 'simulation' on your desktop, simply type:

$ svn checkout  ${SVN}/simulation/trunk  simulation

The passphrase for your private key used to authenticate on the VSC cluster will be requested.

Once the project is checked out, you can start editing or adding files and directories, committing your changes when done.

Importing a local project into the VSC cluster repository

Importing a project directory that is currently on your desktop and not on the VSC cluster is also possible, again by simply modifying the URLs in the previous section appropriately. Suppose the directory on your desktop is 'calculation', the steps to take are the following:

$ svn mkdir -m 'calculation: creating dirs' --parents   \
            $SVN/calculation/trunk    \
            $SVN/calculation/branches \
$ svn import -m 'calculation: import' \
             calculation              \

Note that each time you access the repository, you need to authenticate, which gets tedious pretty soon. Using ssh-agent may be considered to simplify life, see, e.g., a short tutorial on a possible setup.


  • Apache Subversion, with documentation, source and binary packages for various operating systems.
  • Cygwin, a UNIX emulation layer for Windows. Search for subversion in the list of packages when running the setup program.