Subversion on Windows in Five Steps
Posted by Ryan Baxter Thu, 16 Aug 2007 03:39:00 GMT
Subversion (SVN) is a version control system that allows software developers to track the changes of source code and other documents. Since the release of Microsoft’s .NET Framework, Subversion has become a popular choice for developers of open source projects on the Microsoft Windows platform. The latest release of Subversion can be installed on Windows XP Professional by following these five simple steps.
-
Download and install Subversion.
-
Download and install TortoiseSVN.
-
Create a repository for your project.
- Create folder “D:\Subversion\TestProject”.
- Right-click TestProject | TortoiseSVN | Create Repository here.
-
Set up repository permissions.
-
Uncomment the following lines in “D:\Subversion\TestProject\conf\svnserve.conf” (remove #):
#anon-access = read #auth-access = write #password-db = passwd - Add users to the passwd file in the format of username = password.
-
Uncomment the following lines in “D:\Subversion\TestProject\conf\svnserve.conf” (remove #):
-
Set up the Subversion Service. Pay attention to the binpath argument. You can always issue the “sc delete svn” command to remove the service and start again.
sc create svn binpath= "\"C:\Program Files\Subversion\bin\svnserve.exe\" --service -rD:\Subversion" displayname= "Subversion Server" depend= Tcpip start= auto sc start svn -
Import repository layout.
- Create folder “C:\tmp”.
- Create folders branches, tags, and trunk in “C:\tmp”.
- Right-click tmp | TortoiseSVN | Import…
- URL of repository: svn://[IP address of server]/TestProject.
- Import message: Initial repository load.
- Click ‘OK’.
- Enter your username and password from step 3.
This is all it takes to set up and install Subversion on Windows XP Professional. For more information, check out the HTML edition of, Version Control with Subversion.
- Meta no comments, permalink, rss, atom

