SVN
Table of contents
Introduction
This article is under construction and will explain how to install and maintain SVN (Subversion) on FreeBSD with Apache2 and DAVInstallation
Install from ports /usr/ports/devel/subversionShow default and/or recommended options
Setup Apache
Add modules to httpd.confShow example lines
Setup Virtual Host
Add SVN specific optionsAdd DAV specific options
Use Digest as auth
Use Authz as ACL
Show full example
Using Digest as auth
Explain htdigest usage hereGive examples
htdigest -c .svn-digest-pw Repo username
The -c option is to create the file. Only use this option with the first user added
Using Authz as ACL
Explain file format hereGive examples
Importing code for the first time
Give example (remember to point out the importance of "trunk")svnadmin create confighell mkdir -p import/trunk cp -R ~/home/devel/* import/trunk/ cd import svn import http://svn.confighell.com/svn/confighell/
This will make sure that you have an initial "trunk" folder as suggested by the SVN docs. The reason to have it, is when you start multiple branches you will (should) make a directory on the same level called "branches".
