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.
- 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
- 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
- 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"
- 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]
- 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 .