ID #1021

How to use SVN to access the projects?

First, if you prefer GUI tools, try GUI tools for your OS. There are a variety of free tools available for this purpose.

For commands on Linux, check the following short tutorial.


  1. Create a SVN reposity
    SVN is only available in Linux machines in our department now. Hence, you have to first ssh to a Linux machine (e.g. okanagan). You can use the following commands to create a SVN repository:
    svnadmin create --fs-type fsfs [repository name]
    For example, suppose you are in /lci, you can create a repository in /lci/svnroot by using
    svnadmin create --fs-type fsfs svnroot
  2. Checkout a module
    Suppose you want to checkout module toolbox and your work directory is ./toolbox, use the command
    svn checkout file:///lci/svnroot/toolbox toolbox
  3. Import a new module
    Suppose you want to import a new module test and the files are hosted in ./test, use the command
    svn import test file:///lci/svnroot/test --message "any message"
  4. Check the status of files in the working directory
    You can use the following command to check the status of files in the working directory:
    svn status [--verbose]
  5. Commit changes to the repository
    To commit changes to the repository, just enter your working directory and type:
    svn commit

A longer tutorial is here .

Tags: open source

Related entries:

You can comment this FAQ