Alex Rivera | Logout

Source control for Visual Studio that doesn't require a server?

Asked 2009-07-27T12:57:27.820
13

Can anyone recommend a source control solution for Visual Studio? I am going to be the only person using it, I just need something to back up my data every so often or before I undertake a big change in the software. I tried AnkhSVN, but this requires an SVN server. Is there anything that can be used locally that takes the pain out of copying solution folders manually?

Edit
Report

2 Answers

31

With Subversion you can create local, file-system-based repositories for single-user access.

Probably the easiest way to use subversion (on windows) is to install TortoiseSVN. To create a repository, you simply create an empty folder in the location where you want the repository to be, right click that folder and select "TortoiseSVN -> Create repository here".

It is even possible (but not recommended) to create such a repository on a network share.

You can then access local repositories using a file-URL e.g: file:///D:/Projects/MyRepository

If you later find out that you need a server (e.g. to give other users access to the repository), you can easily install svnserve on a server and move the local repository to that server.


Just for completeness: as others have noted, there are several good clients for subversion (personally I'm using mainly TortoiseSVN and AnkhSVN):

answered 2009-07-27T12:59:24.527
3

SVN is the way to go. I would look at using the VisualSVN plugin rather than anksvn as it is much more modern and worth every penny.

answered 2009-07-27T13:15:57.430

Your Answer