Creating a New SVN Repository
Steps to Create a New Subversion Repository
1. Decide on a location for the new repository, making sure it can be accessed by your users, and create it using the svnadmin command:
> svnadmin create </path/to/repo/reponame>
2. Edit the </path/to/repo/reponame/conf/svnserve.conf file.
Uncomment the 'password-db=passwd' line;
Uncomment the 'authz-db=author' line.
Make sure you do not introduce black spaces in the "svnserve.conf" file. New lines must not begin with a black space.
3. Edit the <path/to/repo/reponame/conf/passwd> file. Add a line for each user under the '[users]' tag with the syntax 'mainUser = <password>'.
4. Edit the <path/to/repo/reponame>/conf/authz file. Add a line '[/]' ("/" means permission to users at the roots of the repositories; see http://svnbook.red-bean.com/en/1.8/svn.serverconfig.pathbasedauthz.html for further details on Path-Based Authorization), and under that line for each user: '<username> = rw', e.g.:
[/] user1 = rw user2 = rw userN = rw
If you want to give equal access rights to all users, you can use ' * = rw', e.g.:
[/] * = rw
5. Start the svnserve daemon.
> svnserve --daemon -r '<path/to/repo>'