Configuring Subversion

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. :)

This entry was posted in Version Control and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>