Creating a Repository
There are loads of documentation in creating a Repository. Provided below is an example VHOST config file for SVN:
The /etc/apache2/mods-available/dav_svn.conf is a great file for documentation on the settings. Create Password in AuthUserFile using htpasswd:
MIgration of SVN Migration of SVN Reposiories is as simple as dumping the data into a file and loading the dumped data in another repository to be migrated:
This will create a portable format for your repository (with history) in the file repos.out. Create a new repository where you would want to load the dump
to load your 'dumped' repos to the new or existing one. -- Source: http://www.howtogeek.com/howto/ubuntu/install-subversion-with-web-access-on-ubuntu/ http://stackoverflow.com/questions/939963/how-to-migrate-svn-to-another-repository http://www.if-not-true-then-false.com/2010/svn-subversion-access-control-with-apache-and-mod-authz-svn/
ServerName svn.example.com
DocumentRoot /home/svn/
DAV svn
SVNPath /home/svn/reponame
# SVNParentPath /var/svn/
AuthType Basic
AuthName "Example Repository"
AuthUserFile /etc/subversion/passwd
Require valid-user
ErrorLog /home/svn/logs/error.log
CustomLog /home/svn/logs/access.log combinedThe /etc/apache2/mods-available/dav_svn.conf is a great file for documentation on the settings. Create Password in AuthUserFile using htpasswd:
sudo htpasswd -c /etc/subversion/passwd usernameMIgration of SVN Migration of SVN Reposiories is as simple as dumping the data into a file and loading the dumped data in another repository to be migrated:
svnadmin dump path/to/repos > repos.outThis will create a portable format for your repository (with history) in the file repos.out. Create a new repository where you would want to load the dump
svnadmin create newrepossvnadmin load path/to/newrepos < repos.outto load your 'dumped' repos to the new or existing one. -- Source: http://www.howtogeek.com/howto/ubuntu/install-subversion-with-web-access-on-ubuntu/ http://stackoverflow.com/questions/939963/how-to-migrate-svn-to-another-repository http://www.if-not-true-then-false.com/2010/svn-subversion-access-control-with-apache-and-mod-authz-svn/