Friday, April 1, 2011

SVN tips

1. find current version of the project: svn info


2. $ svn checkout --username fengwei --password hello123 URL


3.  check out to a new name 
$ svn co svn+ssh://username@servername.com/home/username/svnrepos/file newfilename
find

4. man page of svn co: svn check -h

5.  $ svn diff --help

6. 
cd into a working directory (doesn't need to be latest version)
$ svn diff -r 4 > diff.txt
this will generate the difference between current version 10 and version 4

No comments: