====== Resources ====== * https://help.ubuntu.com/9.10/serverguide/C/subversion.html * http://svnbook.red-bean.com/en/1.5/svn-book.html * http://www.howtogeek.com/howto/ubuntu/install-subversion-with-web-access-on-ubuntu/ ====== Usage ====== ===== Branching ===== * ''svn copy http://svn.example.com/repos/calc/trunk http://svn.example.com/repos/calc/branches/my-calc-branch -m "Creating a private branch of /calc/trunk."'' * ''svn checkout http://svn.example.com/repos/calc/branches/my-calc-branch'' * ''svn copy http://svn.example.com/repos/calc/trunk http://svn.example.com/repos/calc/tags/release-1.0 -m "Tagging the 1.0 release of the 'calc' project."'' ====== Configuration & Setup ====== ===== Repository Creation ===== * create subversion group, add users * ''sudo htpasswd /etc/apache2/dav_svn.passwd john'' * ''sudo svnadmin create --fs-type fsfs /var/svn/'' * ''sudo chown www-data:subversion -R /var/svn/'' * ''sudo svn import /home/john/filetree/to/load http://hostname/svn/'' ===== Layout ===== * / * branches/ * tags/ * trunk/ * content * directory/ * more content ===== Apache2 Configuration ===== selected configs: /etc/apache2/mods-available/dav_svn.conf DAV svn SVNParentPath /var/svn AuthType Basic AuthName "Company Name Subversion System" AuthUserFile /etc/apache2/dav_svn.passwd Require valid-user