Archive

Posts Tagged ‘Version Control’

Configuring Subversion

May 10th, 2007 Anuraj P No comments

To modify access permissions and users configuration need to modify the
svnserve.conf file, which is under Repository > Conf > svnserve.conf file.

And uncomment or add following lines

[general]
 
# Anonymous access – Readonly permission
anon-access = read 
# Authenticated access – Write permission permission
auth-access = write
# Username and Password database file.
password-db = passwd
To add users to the repository need to modify the passwd file, it will be in Repository > Conf > Passwd file

And the passwd file syntax is like username = password.

# Sample password file.

[users]
Admin = admin
Guest = guest

Save this file.

To run Subversion server, type following command in the command prompt.

svnserve.exe –daemon –root <physical path>

To connect to the repository using subversion client(ex: tortoise svn client)

svn://localhost/repositoryname

voila! you configured the subversion. :)