Subversion Repository 

http://wiki.archlinux.org/index.php/Subversion_Setup

Create a Repository 

svnadmin create /home/svn/repositories/test

Create a Subversion Project 

http://wiki.archlinux.org/index.php/Subversion_Setup#Create_a_Project

Directory structure for project 

Create the following directory structure on your development machine.

branches tags trunk

You can create them like this.

cd /path/to/directoryofchoice
mkdir branches tags trunk

Populate Directory 

Put your source files into the created trunk directory.

cp -R /home/cactus/project/test/code/* trunk

Import the Project 

svn import -m "Initial import" https://yourdomain.net/svn/test/

Test SVN Checkout 

cd /path/to/directory_of_choice
cd ..
rm -rf /path/to/directory_of_choice
svn co https://yourdomain.net/svn/test/

If everything worked out, you should now have a working, checked out copy of your freshly created SVN repo.

Enjoy!

This page was last modified 03:25, 24 January 2007.

documented on: 2007-09-21