Subversion is a version control system designed as a replacement for CVS. For more information on subversion, see the official page or view the Subversion Book. When using Subversion, you check out a 'working copy' from a repository and edit the working copy. These changes are saved to the repository when a 'commit' operation is run.
UsageTo use subversion, one must first load the subversion module.
module avail subversion module load subversionSubversion contains several major commands. They include:
- The main command line client svnadmin
- Create and maintain repositories svnlook
- Diagnostic tool to examine (but not change) attributes of a repository svnsync
- Remote repository mirroring tool
- svn add
- Specifies files to be added to the repository (but doesn’t actually add them) svn checkout
- Checks out a working copy from the repository svn commit - Actually send changes to the repository (changed files, added files, deleted files, etc.) svn delete
- Deletes items from the local working copy or from the repository svn diff
- Perform a ‘diff’ operation between the repository version and the working copy of a file svn log
- Shows log messages svn revert
- Undo any changes to the local copy and/or undo scheduling operation (svn add, svn delete). Changes cannot be undone after they are committed. svn status
- Show the status of the working copy (including modified files, files to be added, etc.)