Ok I confess, I was too lazy to update posts here; just broke it. 😛
This is a quick look at using svn at its simplest form.
Install subversion using your favourite package manager.
To create new repository
svnadmin create /path/to/repo
To disable anonymous access and set path for passwd and authz file
Remove prefix “#” for lines
1. password-db = passwd
2. authz-db = authz
3. anon-access = read
4. realm = My First Repository
Now change `anon-access = read` to `anon-access = none` and `realm = My First Repository` to `realm = yourprojectname`.
To add users and passwords
Add usernames/passwords in this file in the following format
username = password
example: krish = i_forgot_my_password
Save & Exit
To add path specific access control
Under section [group], add new group names as follows:
ournewgroup = user1, user2, user3
Please ensure that all users added to groups exists in the conf/passwd file.
Under section [/foo/bar], add access control list to specific paths of your projects like this:
user1 = rw
@ournewgroup = r
Now to start our SVN process, run command
Your SVN is now ready. For svn clients you can use TortoiseSVN on Windows or svn client comes bundled with most linux distributions.