SVN Repository

From LinuxServerTech

Jump to: navigation, search


How to access and update the SVN repository

To create a new repository, log into server and, as root, issue the following commands:

svnadmin create --fs-type fsfs /home/svn-repos/repository
chown -fRv www-data:subversion /home/svn-repos/repository
joe /etc/apache2/repositories.inc (add repository name)
/etc/init.d/apache2 restart

You should now be able to access the repository via svn at the following url

ksvn+http://svn.example.com/repository

you can view all of the repositories at:

http://svn.example.com/