Subversion

SVN by Example

== The example setup ==
The following test repository was created and used in the following examples.

$ cd /tmp
$ svnadmin create `pwd`/testrepo
$ svn mkdir -m "Added trunk" file:///tmp/testrepo/trunk/
$ svn co file:///tmp/testrepo/trunk/ testwc


$ echo "Added file in revision 2" > testfile.txt
$ svn add testfile.txt
$ svn ci -m "Rev 2"
Sending testfile.txt
Transmitting file data .
Committed revision 2.
$ echo "Added a new line in rev 3" >> testfile.txt
$ svn ci -m "Rev 3"
Sending testfile.txt