views:

46

answers:

6

Hello. I'm going to be building some ASP.Net MVC 2 software using Visual Studio 2010 and, as the only developer, I'd like to have some basic SCM in place to I can manage changes locally. I know most SCM solutions are designed to run on servers and accessed by multiple developers. What's an easy, simple SCM solution for a solo developer that wants to manage everything on a single Windows 7 machine?

Thanks so much in advance for your help!

+1  A: 
  1. File based SVN
  2. git
gandjustas
+4  A: 

A distributed VCS like git or mercurial would work just fine for a local repository, and you could always use your local repo as a master for future shared access.

bosmacs
And no mention of mercurial would be complete without plugging [hginit](http://hginit.com/) </joelfanboy> :)
djacobson
+1 for git - just remember to backup your machine on a regular basis!
JeffH
Or Bazaar: http://bazaar-vcs.org/. Those are the three big DVCS systems. I tend to prefer bzr, but all three are pretty nice and mature systems
jalf
+1  A: 

I see three possibilities:

  1. use a VCS that allows file-based access (SVN does)
  2. install a server (e.g. for SVN)
  3. use a distributed VCS (like Hq, git etc.)

They are listed with increasing recommendation level, so I recommend last one most. (Although I should warn against using git, which isn't really considered the easiest to use of the family.)

sbi
A: 

In my experience, TFS, hands down, has the best integration with Visual Studio. All other source control providers offer lackluster support for .NET projects at best (this specifically comes into play with renaming, moving, and deleting files under source control).

That said, for a single developer, my recommendation would be to use AnkhSVN with free SVN hosting on projectlocker.

On the other hand, if you have a BizSpark or MSDN account, and have some time, you may want to set up TFS 2010, perhaps on a VM.

JeffN825
TFS is a reasonable SCM, but it's pretty heavyweight for a single user, let alone a single-machine, install. AFAIK it requires Sharepoint, IIS and SQL server to be installed to support it.
Jason Williams
Indeed. It is very heavy weight and does much more than a single developer will need...though other source control providers can be such a headache with .NET projects, locked files, cleanups etc. that I run TFS anyway on a Virtual Private Server. I wouldn't recommend it unless you have a BizSpark or MSDN license for it (certainly not work the thousands of dollars for a single developer).
JeffN825
A: 

Perforce provide a 2-user non-expiring "evaluation" license. I believe this can be installed and used on a single PC.

Jason Williams
A: 

If you already have the .NET stack installed on your machine and SQL Server (including Express Edition), you can have a single user version of SourceGear Vault for free. Works well on my fairly old XP Pro machine.

kevinw