Live data from Hacker News

Poll: Version Control

news.ycombinator.com

81–90 of 92 posts

Re: Poll: Version Control

#81
post #3

I adopted mercurial when git was "painful" to use. It seems as though this has changed, but I see no compelling reason to switch just because all the Rails kids think git's cool right now.

I'm trying very hard to like git, being a Rails kid coming from the svn world. Still, besides the kickass merging, everything else seems ass-backwards.

Remote work especially is bonkers. Push/pull? Easy. Add/Delete remote branch? Off to google for me...

Re: Poll: Version Control

#82
post #69

Earlier quoted context omitted.

I have this feeling too. However, I've just started using git, and one nice thing is the sense of closure when you "commit" something, it's a milestone, a bit like a release. It's also nice to have a log of changes, with a short comment about each one. But I haven't had any actual advantage from it so far; and any nervousness about playing around with files has shifted across to nervousness about playing around with…

" I find doing anything to the repository (reverting, branching etc) terrifying, because I don't really understand what it's going to do, and I could lose everything." Like many things in the software world, the more you know, the better off you are!

[deleted]

Re: Poll: Version Control

#84

Earlier quoted context omitted.

It's only a little bit faster than mercurial, and the size of the repository is larger.

I have a 250gb hard disk, and no spare minutes per day.

The point of a large repository isn't whether or not you can store it. The point of a large repository is that it takes a long time to clone, and cloning is pretty damn important in a DVCS.

I don't think anybody would suggest that size of repository matters for the number of bytes involved. There are obvious side effects of a large repository.

Re: Poll: Version Control

#85
Is it worth learning a version control system for small personal projects, say 10 source-files and 5-10 different versions?

I feel like I need something sometimes but most of the tools above seem a bit complicated and not very intuitive.

Re: Poll: Version Control

#86
post #85

Is it worth learning a version control system for small personal projects, say 10 source-files and 5-10 different versions? I feel like I need something sometimes but most of the tools above seem a bit complicated and not very intuitive.

I use Subversion, and constantly check in my code. I love the feeling of control and permanence. 10 source files soon becomes 30, and 10 versions soon becomes 100 => Yes.

How often do you do a bigger change, then realize you still need some pieces of the previous version? Version diff to the rescue!

Re: Poll: Version Control

#87
post #56
post #51

None. From where I stand, it seems like extra management duty, for marginal benefits.

Have you tried it? Version control makes you braver in deleting and rewriting.

No. Whenever I go on a tangent, I just make a copy.

I do AI, maybe that's the difference. Honestly, apart from utils.lisp, I wouldn't cry much if I suddenly lost all my files. Code is trivial, the important point is in the experience / insights.

I'll try it some day for sure. It's just not that appealing. It was the same with Emacs.

Re: Poll: Version Control

#88
post #3

I adopted mercurial when git was "painful" to use. It seems as though this has changed, but I see no compelling reason to switch just because all the Rails kids think git's cool right now.

all the Rails kids think git's cool right now A stopped clock is right twice a day.

It doesn't matter if they understand what's actually cool about it, of course. (http://news.ycombinator.com/item?id=327085)

Re: Poll: Version Control

#89
post #57

Earlier quoted context omitted.

I used mercurial briefly and found it to be much, much slower compared to git.

Under what OS, hardware platform, filesystem, project size, etc.? Not knee-jerk arguing, genuinely curious. When I compared them on Windows and OpenBSD, I never had a speed difference of more than about 5% (not counting git db repacking), even with a project that had 40,000+ commits, 10+ very active branches, and about 2 GB of code + data.

Admittedly it was probably either the environment or the remote server causing the problem. I was running it under Cygwin on Vista, and it was a fairly huge project. I was running git under the same environment for the same thing (with a different remote origin), and even then I noticed git was much more snappy.

It's nowhere near an actual analysis, just my experience in my limited use (and probably influenced quite a bit by things that I've heard).

Re: Poll: Version Control

#90
post #89

Earlier quoted context omitted.

Under what OS, hardware platform, filesystem, project size, etc.? Not knee-jerk arguing, genuinely curious. When I compared them on Windows and OpenBSD, I never had a speed difference of more than about 5% (not counting git db repacking), even with a project that had 40,000+ commits, 10+ very active branches, and about 2 GB of code + data.

Admittedly it was probably either the environment or the remote server causing the problem. I was running it under Cygwin on Vista, and it was a fairly huge project. I was running git under the same environment for the same thing (with a different remote origin), and even then I noticed git was much more snappy. It's nowhere near an actual analysis, just my experience in my limited use (and probably influenced quite…

Ok.

(I was using an actual timer when I compared them.)

Post reply on HN