Source Code Control for Windows Environment

Status
Not open for further replies.

sodaant

Ars Praetorian
449
Subscriptor
I'm looking for a source code control system to better manage the hobby programming projects I do at home. My requirements are relatively simple:

* Runs on Windows XP
* Free (this is for hobby use!)
* Ability to maintain binaries as well as text files
* Ability to integrate with Eclipse (desired, but not mandatory)
* Single user (no need for client/server style system)
* Simple and easy to use and maintain

I suspect the last is the most important, because, human nature being what it is, I'd probably look for ways to "get around" the system if it were too complicated or too onerous to use and defeat the reason for using it in the first place.

Any suggestions?
 

QuantumET

Ars Scholae Palatinae
1,191
For easy-to-use, you probably can't get much simpler than the SVN plugin for Eclipse (Subclipse), probably paired with TortoiseSVN for explorer integration (and repository creation/management).

Set up a repository with TortoiseSVN (a few clicks), and point Subclipse to it, and that's probably about it for configuration. As a single developer, you're unlikely to run into the limitations of Subversion that would make more powerful (and also more learning-curve heavy) SCMs attractive.
 

Xavin

Ars Legatus Legionis
30,828
Subscriptor++
Mercurial all the way. Subversion is fine, especially for a one man show, but Mercurial is better. I wouldn't recommend Git for Windows unless you have to use it. There's not really such a thing as overkill with source control (well, I guess installing a team system server might be), SVN and Mercurial are really simple to use once you understand them. Mercurial has less to manage, you don't have to worry about how to properly back-up the repository and such. Just install TortoiseHG and find a tutorial.
 
Xavin":25szu60s said:
Mercurial all the way.

++

I'm using TortoiseHG at work, on my own machine. No central repository, no complex setup, although I'm sure it'll let you go as complex as you want (remote repositories, multiple concurrent users, branches/merges etc).

It's extremely easy to setup, just a single MSI taking care of everything. It Just Works out of the box with NetBeans, and a quick search shows that it works with Eclipse too. TortoiseHG's integration with Explorer is excellent too.

Overall I've found ToirtoiseHG very easy to work with and quite capable for my needs. Also, it's part of the new-ish view on version control, Distributed Version Control which supposedly is Teh Future of version control systems.
 

jxl

Ars Praefectus
5,020
Mercurial is probably where it's at for you, provided you're comfortable with the command line - TortoiseHg just is not on par with TortoiseSVN as far as user-friendliness goes (I do not like the way the Gnome UI presents).
Google tells me that there's plugins for Eclipse, but I can't speak to their quality.
SVN's also a fine solution, but you do incur the overhead of running a server daemon to use it.
 

sodaant

Ars Praetorian
449
Subscriptor
mudboy":1c2tb0mh said:
I use SourceGear Vault, free for a single user. Many other people will probably chime in with SVN or GIT. Try a couple out, figure out which is easiest for you (I used SVN before but it was overkill), and go with it. You could also try a managed service like Project Locker, install TortoiseSVN, and be done with it.

Correct me if I'm wrong, but doesn't SourceGear Vault require MS SQL Server and IIS running on the server machine (even if there's only one user/machine involved)??
 

QuantumET

Ars Scholae Palatinae
1,191
jxl":1ui7sycq said:
Mercurial is probably where it's at for you, provided you're comfortable with the command line - TortoiseHg just is not on par with TortoiseSVN as far as user-friendliness goes (I do not like the way the Gnome UI presents).
Google tells me that there's plugins for Eclipse, but I can't speak to their quality.
SVN's also a fine solution, but you do incur the overhead of running a server daemon to use it.

I have no problem with the suggestion of Mercurial (just have no personal experience with it yet), but I don't think there's server daemon overhead for SVN with a local file:// repository - the client either accesses the repo itself directly, or spawns the svnserve program locally and temporarily when it's needed (can't remember which), but either way, there's no constant overhead from it.
 

andrewme

Senator
7,120
Subscriptor
QuantumET":ol33odu0 said:
I don't think there's server daemon overhead for SVN with a local file:// repository - the client either accesses the repo itself directly, or spawns the svnserve program locally and temporarily when it's needed (can't remember which), but either way, there's no constant overhead from it.

There isn't any overhead with the "svn://" protocol - the client accesses the repository files directly.
 

technophile

Ars Legatus Legionis
23,768
sodaant":1tcpqd3g said:
mudboy":1tcpqd3g said:
I use SourceGear Vault, free for a single user. Many other people will probably chime in with SVN or GIT. Try a couple out, figure out which is easiest for you (I used SVN before but it was overkill), and go with it. You could also try a managed service like Project Locker, install TortoiseSVN, and be done with it.

Correct me if I'm wrong, but doesn't SourceGear Vault require MS SQL Server and IIS running on the server machine (even if there's only one user/machine involved)??
Yes, but that doesn't imply anything about environment or cost; it can use SQL Server Express (free download) and the version of IIS included with every form of Windows since Win2k.
 

Xavin

Ars Legatus Legionis
30,828
Subscriptor++
Mercurial is probably where it's at for you, provided you're comfortable with the command line - TortoiseHg just is not on par with TortoiseSVN as far as user-friendliness goes
It's not quite as polished, but it's way past the point of being usable. Other than cleaning up the UI a little I don't know how you could make it better. It's nothing like the barely usable mess that is Git in Windows.

I don't think there's server daemon overhead for SVN with a local file:// repository - the client either accesses the repo itself directly, or spawns the svnserve program locally and temporarily when it's needed (can't remember which), but either way, there's no constant overhead from it.
No constant overhead, but you need to manage the repository, you can't just copy it to back up properly. With Mercurial you just copy the local copy of the repo, or push it out to somewhere else.

Vault is acceptable I guess, but I wouldn't use it green field, its main draw is that it's an easy transition from VSS. Honestly, like most people, after getting used to a DVCS there's no way I could go back. It just works so much smoother and effortlessly deals with things like merging that SVN and the other old school VCSs have a ton of trouble with.
 
Status
Not open for further replies.