News for hackers. Stuff that matters.

Ask YC: What revision control system are you using?

I'd like to hear what you're using and why you like it. I have a hunch that we're going to be using more distributed version control than your average group, just checking. So...

Git? Bazaar? Subversion? TortiseSVN? Mercurial? CVS? Perforce? or "Revision control is for weak need mortals. I etch code directly on silicons wafers like the hacker god that I am!"

Talk amongst yourselves.

( 27 comments | 5 points | on HN )
Re:Ask YC: What revision control system are you using? by bootload on Tuesday November 20, 2007 @05:52PM (#82196)
"... Quite frankly, I think most open-source SCM's _still_ suck. I'm constantly amazed that anybody would touch SVN with a ten-foot pole. Talk about crap. And SVN is at least usable, unlike a lot of other projects. ..." [0]

git

small, fast, in active development and cross platform. Fast to install, less documentation. Originally I used cvs with a p-server which worked nicely allowing me to distribute dev & other files across other machines. But was a begger to install. Then I tried svn but never really liked a) lack of clients, confusing setup documentation.

Using Git now as I wanted a SCM for a new project and it was the fastest to install & use. Git also has the advantage of doing the same as svn but with less keystrokes. [1] Can also be used individually as a tool as well as a group. [2]

Having said that svn, cvs, rcs are still usable just not optimal for me.

[0] http://marc.info/?l=git&m=116129092117475

[1] http://www.kernel.org/pub/software/scm/git/docs/tutorial.htm...

[2] http://www.kernel.org/pub/software/scm/git/docs/everyday.htm...

Re:Ask YC: What revision control system are you using? by mechanical_fish on Tuesday November 20, 2007 @10:22PM (#82319)
I watched some online videos on git and have now fallen in love, to the extent that love is possible between a man and an SCM.

The Linus Torvalds Google talk is great fun [0], but it may not actually convince you -- it'll just goad you. The Randall Schwartz talk [2] is more practical, and I recommend it. Finally, the Peepcode screencast [3] is worth the $9 -- it gives examples of git in action, and a handy cheat sheet. It's what finally pushed me over the edge into full-blown fanboy mode.

[0] http://video.google.com/videoplay?docid=-2199332044603874737

[1] http://video.google.com/videoplay?docid=-3999952944619245780

[2] http://peepcode.com/products/git

Re:Ask YC: What revision control system are you using? by tlrobinson on Tuesday November 20, 2007 @02:19PM (#82058)
svn

We're using it because it's free, suits our needs fine, and is pretty much the standard these days (especially for open source projects)

p.s. you know TortiseSVN is just a Windows client for Subversion, right?

Re:Ask YC: What revision control system are you using? by boucher on Tuesday November 20, 2007 @02:31PM (#82067)
Seconded. Mostly because I work with Tom, but I also use svn at work, because it really is the standard.

Distributed version control seems a bit like a fad to me. I admit it has some nice features, but I expect subversion to adapt the best that it doesn't already have (which isn't really all that much). They are already working on implementing local commits, which in my mind is the single biggest missing feature.

Re:Ask YC: What revision control system are you using? by davidw on Tuesday November 20, 2007 @02:42PM (#82078)
Right - version control doesn't strike me as a good place to play on the bleeding edge. I'll leave that to other people and spend time playing with something else experimental that won't lose a bunch of my critical data, or cause unexpected problems.
Re:Ask YC: What revision control system are you using? by pcowans on Tuesday November 20, 2007 @02:52PM (#82087)
I agree completely - SVN is very standard, seems to be stable, and basically does everything most people will need. TortoiseSVN is a great client if you're using Windows.
Re:Ask YC: What revision control system are you using? by mrevelle on Tuesday November 20, 2007 @08:22PM (#82272)
The Linux kernel is fairly important and the kernel developers trust a "bleeding edge" VCS.

SVN is great for an individual or simple project, but sharing patches between branches is a nightmare.

Re:Ask YC: What revision control system are you using? by davidw on Wednesday November 21, 2007 @04:51AM (#82407)
It's more than fairly important, it's extremely important and big. That means that it's also a bit of an outlier in terms of lines of code, people involved, and so on, which is why Linus seems to have undertaken the painful project of making his own revision control thing.

I'll wait till he's shaken the bugs out until I give it a go, though, as being an early adopter gives me zero competitive advantage.

Re:Ask YC: What revision control system are you using? by mrtron on Tuesday November 20, 2007 @06:26PM (#82210)
Thirded.
Re:Ask YC: What revision control system are you using? by astrec on Tuesday November 20, 2007 @07:50PM (#82256)
svn here too; plenty of nice clients and trac integration.
Re:Ask YC: What revision control system are you using? by astrec on Tuesday November 20, 2007 @07:50PM (#82255)
svn here too; plenty of nice clients and trac integration.
Re:Ask YC: What revision control system are you using? by ivankirigin on Tuesday November 20, 2007 @02:17PM (#82057)
Subversion. Also, I'm using Trac as a bug tracker and wiki. It comes with a nice Subversion viewer.
Re:Ask YC: What revision control system are you using? by wlievens on Wednesday November 21, 2007 @03:59AM (#82397)
Exactly ethe same here. Trac is sweet.
Re:Ask YC: What revision control system are you using? by mhartl on Tuesday November 20, 2007 @04:59PM (#82174)
I used Subversion for years, and as awesome as Subversion is, Subversion really sucks. I use darcs for my personal projects, but it occasionally chokes for various reasons and some serious bugs have gone unfixed for several years. I'm now looking at Git, which is distributed like darcs but won't ever have the same unfixed bugs problem: Git is developed by Linus Torvalds and hosts the Linux kernel.
Re:Ask YC: What revision control system are you using? by chris on Tuesday November 20, 2007 @02:23PM (#82060)
we have been using darcs for quite some time now. very happy with it thus far.
Re:Ask YC: What revision control system are you using? by ropiku on Tuesday November 20, 2007 @04:55PM (#82172)
I was a user of SVN (the reasons are in the first comments) but now switched to Git, distributed scm is really nice. I also like the branching features of Git. And it's very easy to clone a repository, start hacking and committing local then submitting a patch.
Re:Ask YC: What revision control system are you using? by inklesspen on Wednesday November 21, 2007 @12:09AM (#82354)
I use svn and Mercurial. SVN for work (because the company uses it) and for my older projects, and Mercurial for my newer projects. I switched to Mercurial because it seemed like the best distributed system out there, and I like Python.
Re:Ask YC: What revision control system are you using? by brlewis on Tuesday November 20, 2007 @02:26PM (#82062)
RCS because I'm working solo and setup is instant (emacs: C-x v v). When I need more I'll probably take the path of least resistance and use subversion, even though Mercurial is reputed to be superior.
Re:Ask YC: What revision control system are you using? by queensnake on Tuesday November 20, 2007 @04:55PM (#82173)
If you use a CVS version of Emacs (maybe even the recently-released one, I don't remember when Eric Raymond submitted it), Emacs now plays nice with all the newest VCs as well (well I get errors with git but, it's probably me. It's /supposed/ to work. I'm sure the others do).
Re:Ask YC: What revision control system are you using? by tocomment on Tuesday November 20, 2007 @06:36PM (#82214)
I've been trying to decide between the distributed ones for months. I'm about to go with HG. Any dire warnings before I do?

BTW, how to pronounce it, HG, or Mercurial?

Re:Ask YC: What revision control system are you using? by iamelgringo on Tuesday November 20, 2007 @08:41PM (#82283)
I think that Mercurial is the official name. "Hg" is the chemical symbol for mercury.
Re:Ask YC: What revision control system are you using? by tmm1 on Tuesday November 20, 2007 @07:18PM (#82240)
darcs, it's distributed, doesn't require a server setup, lets me work without a network connection, and the cli is extremely user-friendly.

instead of committing files, darcs record lets me pick and choose what changes to include as part of a patch, resulting in cleaner patches which actually encompass a logical change to the code.

i've also heard many good things about git

Re:Ask YC: What revision control system are you using? by flashgordon on Tuesday November 20, 2007 @06:28PM (#82211)
mercurial with roundup... though looking to change the bug-tracking that can have an easier/simpler integration with hg :D

even though it is still pre 1.0, a lot of fixes are going into it, (did i mention it is written in Python? not that it should matter).

Re:Ask YC: What revision control system are you using? by jgamman on Wednesday November 21, 2007 @06:14AM (#82417)
highlighter pens and a super special 'up to date' folder on my hard drive.
Re:Ask YC: What revision control system are you using? by slim on Tuesday November 20, 2007 @07:56PM (#82261)
i used to use svn at work, and lately i tried git for my own needs.

git seems a lot better but i did not try it extensively.

Re:Ask YC: What revision control system are you using? by wlievens on Wednesday November 21, 2007 @03:58AM (#82396)
Subversion is just plain awesome.
Re:Ask YC: What revision control system are you using? by superjared on Tuesday November 20, 2007 @06:55PM (#82225)
bazaar is great. so is git. i like them both.