The one of preferred version control system at ViSLAB is subversion. Subversion bears a great similarity to CVS, including most of the command-line. GUI front-ends are available for Windows, Unix and OS X:
The full subversion book is available online here. Read at-least the "Guided Tour" chapter, although you should probably read the rest, especially if you haven't used a version-control system before. If you've used CVS before you should probably read Subversion for CVS Users. The main host for group project repository is project.vislab.usyd.edu.au. Each svn repository is located under associated project group directory under svn co svn+ssh://project.vislab.usyd.edu.au/Groups/NCCG/palladium From then on the checkout will remember the location of the repository. Configure SubversionGlobal IgnoresIn order to make subversion ignore certain file types, you can specify file types in
~/.subversion/config .For example:
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.model *.pbxuser Global Keyword substitutionCVS automatically replace certain keywords (such as $Author$, $Id$, $Date$ and $Revision$) in files. Although subversion does have this function, it is turned off as a default. In order to use this function at the global level, you can specify that in
~/.subversion/config .enable-auto-props = yes [auto-props] *.* = svn:keywords=Id Date Revision Author HeadUrL Subversion commands
svn co svn+ssh://username@project.vislab.usyd.edu.au/Groups/NCCG/palladium After you check out the project for the first time, you don't have to specify the full URL anymore.
svn diff
svn commit
sub update
svn diff some.file
svn help <command>
svn update -r <revision number> <filename>
svn update -r {2005-03-23} Note: Subversion will find the earliest version it finds on that date. You can if you wish also put the time.
svn add <new filename>
svn delete <filename>
svn status
svn list
svn copy -m 'comment' <original URL> <tagged URL> for example: svn copy -m 'tag ver-1.0' svn+ssh://project.vislab.usyd.edu.au/Groups/NCCG/palladium/trunk svn+ssh://project.vislab.usyd.edu.au/Groups/NCCG/palladium/tags/ver-1.0
svn copy -m 'comment' <original URL> <new-branch URL> for example: svn copy -m 'branch ver-2.0' svn+ssh://project.vislab.usyd.edu.au/Groups/NCCG/palladium/trunk svn+ssh://project.vislab.usyd.edu.au/Groups/NCCG/palladium/branches/ver-2.0 |
Resources > Standard Procedures >