Setting up Subversion

April 12th, 2007

With the growing number of projects I have been working on, version control seems to become increasingly important.  With a system for version control, willy nilly saving and copying of files is a thing of the past.

Here is a quick and dirty usage guide to start a project.

SVN Usage:

Creating a project:
On Server, run:
#svnadmin create /var/svn/(project)
#svn import (project) file:///var/svn/(project) -m “initial import”
#chown -R www:wheel /var/svn/(project)

To get a working copy:
svn checkout http://china.jellyfishnetwork.com/svn/(project)

To deploy:
svn export http://china.jellyfishnetwork.com/svn/(project)

For a more  informative guide about setting up subversion on freebsd, see:

bsdguides

Leave a Reply