Things to Remember

Monday, 6 September 2010

svn setup

cd /home/Users/delboy1978uk/Dropbox
mkdir svn
svnadmin create ./svn/asts

nano svn/asts/db/fsfs.conf
remove the comment for rep sharing
ctrl-o write ctrl-x exit

cd ../Desktop/asts
svn import file:///Users/delboy1978uk/Dropbox/svn/asts

cd ../../Sites
svn checkout file:///Users/delboy1978uk/Dropbox/svn/asts

now asts folder is in sites directory ready for editing
once done, from the checked out folder
svn commit

Working with Revisions
Now let's make real use of Subversion. While working with revisions, you can:

Check Status
$ svn status
Compare different Revisions
$ svn compare -r R1:R2
(Replace R1 and R2 with actual revision numbers you want to compare)

Revert Local Edits
$ svn revert
Revert to Previous Revisions
$ svn update -r R
(Replace R with an actual revision number)

is optional; you can run the previous commands on the current directory if you omit it.

now create a project

Labels: