Hacker News new | ask | show | jobs
by eloisant 16 days ago
Mercurial and Git arrived exactly at the same time, in 2005. Most people were using SVN (or some of them still on CVS).

If Mercurial was better than Git it would have won the distributed versioning system war.

I remember Mozilla picking Hg instead of Git to migrate from CVS, and most people were unhappy about it because they prefered git.

3 comments

I don't think that follows. Even at the same time, social and network effects have impact. Git winning might be as simple as linux using it.
Non trivial part was that GitHub had better UX than Hg-supporting forges.

People learnt git to use GitHub

Git felt like it had "inevitable" momentum way before GitHub.

In 2005 my company was using Darcs. We had previously used CVS and then Subversion. Darcs felt like finally the right, modern, decentralized version control system had arrived, even though there was no GitHub for it. Darcs was magical in ways that Git still can't measure up to.

But arround me more and more colleagues were starting to use Git, which they gushed about as being the new cool thing. Git, at that time, was barely more than a very unfriendly set of commands with barely any documentation. But even before GitHub it seemed like "worse is better" was clearly winning over Darcs and the other new contenders.

By circa 2007 we had switched over. The thing that really pushed us over was that Darcs had a huge, work-stopping bug that the authors could not resolve. Darcs 2 eventually made the bug less of a problem, but it was too late, and at that point it was even more niche than in 2005.

GitHub was clearly instrumental in cementing Git's "monopoly" on version control. Once GitHub was out, the writing was on the wall.

As someone who also used Darcs, every time I had to deal with Darcs and git side by side I wished the Darcs project used Git too.

Which is mostly a critique of how Darcs was badly implemented and trivial equivalent of "git pull" could tank a big server.

From SVN, there was a lot to push towards Git because of speed, too.

But all of those above were also arguments for Mercurial, and that's where GitHub is real divergence point IMHO

I originally thought to write "Git winning might be as simple as linux and github using it.", before I decided to shorten it:) Yes, I think that was a significant factor.
not to mention that many at mozilla cried over the loss of mercurial, with some mozillians part-time mercurial contributors rolling-up their sleeves and putting their weight behind jj as a "lesser evil" kind of compromise.
Part of the problem was that businesses still wanted a centralized version control system. It's what they understand and need.

At the time there were a couple of low-key Mercurial server solutions: bitbucket, and another I can' quite recall. And then there was Github.

At the time it very much felt like the HN/Silicon Valley hype-cycle/publicity bandwagon jumped on Github. That's really what won 'the war'.

It's a bit like saying, if betamax was better than VHS it would have one the video battles.

Back in the day, Windows was still 'king' and Mercurial was Windows friendly, and git really wasn't, and that still wasn't quite enough.

> If Mercurial was better than Git it would have won the distributed versioning system war.

Ah, so Windows is better than Linux/UNIX and MacOS. Got it.