Setting up SVN in windows within few minutes
Setting up a SVN server had never been so easy as it is now with Visual SVN
If you do not know why to use SVN or what to use SVN for please read this or else follow the steps :
1. Download and install Visual SVN from
http://www.visualsvn.com/server/download/
its free.
2. Create a user.
3. Create a repository.
4. Install Tortoise SVN windows client.
5. Import your code / files into the repository . As per your configuration it would be :
https://yourmachinename/svn/< repository name>
6. Its ready
.
To use it :
1. On any folder where you want to download the code, right click and click on “checkout”.
2. Give the url that is generated ( to find the URL if you forgot, right click on repository and click on properties )
3. give username and password of the user.
4. Click on OK.
To access it from Netbeans.
1. From Netbeans 6.0 onwards they have default support for svn. Just download and install svn client like tortoise svn.
2. Give path to the svn.exe in default path.
3. Open Netbeans, Versioning –> Subversion –> Checkout . ( you might get errors if it cannot find svn.exe on its path).
4. Give the URL of your subversion repository, username and password.
5. Click on Finish
.
To access from Visual Studio :
1. Visual SVN provides a paid plugin for visual studio to use svn, but since we like free ones only. So get the free one “Ankhs SVN” here which works for Visual studio 2005 and Visual studio 2008 both.
2. File –> Open –> Subversion Project
3. Give the svn URL, username password as it asks.
4. Select the solution and open it.
OR
you can also create your project / solution first from visual studio and then commit it to your repository:
a. By right clicking the project / solution
b. Add the selected project/solution into subversion
c. Give the project name, SVN URL and path where to save.
d. That’s all
To Setup SVN in linux please follow Amit Regmi’s blog at http://regamit.blogspot.com/2008/09/svn-setup-linux-server-linux-user.html
November 10th, 2009 - 18:49
Thanks a lot for the post . I am new to Visual Studio and it helped me immensely!