Here are a couple of concepts, with links to the full definition in the SVN book. Each of these concepts, prepended by 'svn', is the actual command (on the command line).
- SVN: common abbreviation for Subversion
- checkout: get a copy of the code
- commit/checkin/ci : upload your modifications back
- add : make SVN aware of a file
- remove/delete: delete the file in SVN and in the local copy
- revert : remove local modifications and return to a clean copy
- switch : change repositories or branches within repositories
Quickstart on Linux/Unix
Subversion is installed on the SSG, you will need the command line to perform any operations. This example uses the test repository, and can be run on the SSG as well as any other Linux or Unix system with Subversion installed.
Step 1: Check out a version of the code.
svn co http://repository.vrdc.cornell.edu/public/test
If you use TortoiseSVN under Windows, you do something similar in the GUI (or even from the command line!) You now have the latest copy of the code.
Step 2: Modify at will.
If you have already made modifications elsewhere, copy them into the directory tree you just downloaded. If you make a mistake, you can always revert back to the original version using
svn revert name_of_file (does not require online access)
Step 3: Upload the changes
(using subversion of course), including comments about your changes:
svn ci -m "My message here"
Take care about where you are in the directory structure. 'ci' will only upload any changes at or above (?) you in the directory structure.
All the above can be done by any person with check-in (ci) privileges