Live data from Hacker News

Ask HN: Why Did Mercurial Die?:(

news.ycombinator.com

11–20 of 34 posts

Re: Ask HN: Why Did Mercurial Die?:(

#11
post #3

Facebook still uses Mercurial for their monorepo, as far as I know. I suspect GitHub is the reason git ultimately won. It became the easy default choice compared to the decision making involved with setting up local version control. For the record, last time I had to make that choice for my team pre-GitHub, I went with hg.

Git won before github[0].

0, https://youtu.be/idLyobOhtO4

Re: Ask HN: Why Did Mercurial Die?:(

#12
post #3

Facebook still uses Mercurial for their monorepo, as far as I know. I suspect GitHub is the reason git ultimately won. It became the easy default choice compared to the decision making involved with setting up local version control. For the record, last time I had to make that choice for my team pre-GitHub, I went with hg.

Is it still used at Facebook? I know they did in the past, but reading up a bit on the background on all of this I found https://github.com/facebook/sapling, and it seems that's what they're using now?

Re: Ask HN: Why Did Mercurial Die?:(

#13

Mozilla still uses Mercurial for Firefox development [0]. They're in the process of moving to git and GitHub [1]. I don't know the status of the move, but I contributed a bit to Firefox's build system via Mercurial, and I am glad to see they're moving to git since it's the industry standard. Mercurial felt so alien when I was using it. Git has its own share of UX problems, but finding support for Mercurial was much h…

Previous: Mozilla Firefox – Official GitHub repo - https://news.ycombinator.com/item?id=43969827 - May 2025 (468 comments)

According to the top comment, hg is synced from git (rather than the other way around), and they basically finished the migration AFAIK, with some compatibility/legacy hg stuff for the time being.

Re: Ask HN: Why Did Mercurial Die?:(

#14
post #9

Github made hosting git free with private repos

Private repos were a paid plan on GitHub for a long time. Actually, a lot of people used GitHub for public stuff and BitBucket for private repos, because BitBucket did offer free private repos.

Re: Ask HN: Why Did Mercurial Die?:(

#15
post #7

GitHub made git popular, and git made GitHub popular. So the major mercurial hosts (especially bucket) decided that it wasn't worth supporting even for their existing users. That was the mail in Mercurial's coffin. Google also decided to shut down their Google Code. Git's appeal is that it is more flexible and has every feature you might want, allowing people to do whatever they wish whether it's pretty or not. As lo…

> GitHub made git popular, and git made GitHub popular The free plan made GitHub popula, not git

Everyone else had free plans too. Often better free plans even.

Re: Ask HN: Why Did Mercurial Die?:(

#16
1. Github. 2. Git was created and used as a version control in the development of the Linux kernel. Some people may correctly think: if it's good enough to be the version control for Linux, it should handle my project.

Re: Ask HN: Why Did Mercurial Die?:(

#17
I think Git was initially more popular and that had compounding effects that made it eclipse Mercurial.

In 2010 or so we tried to adopt Mercurial at the small company I worked at, but the support for Git was just so much better - even back then. Git's popularity meant that tooling, documentation, and general ease of finding people to ask questions was 100x easier with Git, so we switched. I'd imagine the same thing played out many times over.

A few FAANGs did and still use Mercurial, but they're on their own islands and don't really affect the wider tech ecosystem.

Re: Ask HN: Why Did Mercurial Die?:(

#19
Network Effects were a big part of it (lots of reasons why people are mentioning both GitHub and/or Linus' oversized impacts on picking a winner).

I think it is also worth pointing out: Mercurial also got bit by a lot of Anti-Python sentiment from very early on (laughingly, from some number of the same developers that didn't seem to mind how much git included a spaghetti mess of Perl and Bash scripts). The timing of the Python 2 -> 3 transition and the debacle that especially ensued as the various Linux distros made a particular dog's breakfast out of some of it also created additional or new Anti-Python sentiment among would be source control users.

Re: Ask HN: Why Did Mercurial Die?:(

#20
post #7

GitHub made git popular, and git made GitHub popular. So the major mercurial hosts (especially bucket) decided that it wasn't worth supporting even for their existing users. That was the mail in Mercurial's coffin. Google also decided to shut down their Google Code. Git's appeal is that it is more flexible and has every feature you might want, allowing people to do whatever they wish whether it's pretty or not. As lo…

> GitHub made git popular, and git made GitHub popular The free plan made GitHub popula, not git

It was both. If it was svnhub nobody would have given it a go.
Post reply on HN