dotnet thoughts 

a dotnet developer's technical blog

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

Subversion – Creating Repository

Creating Repository

Go to the command prompt. Check the svn directory exists in the PATH variable.

svnadmin create C:\MyProject

This will create a new repositiory with name as “MyProject”

For more details on creating repository

SVN Book – Chapter 5

Subversion – Introduction.

Subversion is a new version control system that is a compelling replacement for CVS in the open source community. You can get more details about Subversion from this link

http://subversion.tigris.org/(Subversion Project HomePage)

« Newer Posts