Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Wait—there’s a FB fork of Mercurial? Would love to know more about it!


sort by: page size:

Facebook uses Mercurial.

Facebook uses mercurial internally.

Haven't facebook forked Mercurial to use it for their own mega mono repository?

Facebook is still using mercurial last time I heard

Yep, and they've had to add support for several features that Facebook added to Mercurial years earlier.

Note: this article is from 2014; it would be interesting to see how Mercurial has worked for Facebook since then.

It's likely that Mercurial would scale for you today, using Facebook's stack. Drop me an email if you'd like to chat sometime.

Who other than FB albeit customized is using Mercurial in prod?

Where did you hear Facebook is dumping Mercurial. Last I heard they were using Rust to optimize Mercurial.

And Facebook added a lot to Mercurial so that it would scale to their stupidly enormous code base.

https://code.facebook.com/posts/218678814984400/scaling-merc...


Relevant: Facebook migrated from git to hg awhile back.

Here's a blog post on how they are scaling hg for their monolithic repos https://code.facebook.com/posts/218678814984400/scaling-merc...


I didn't, the Hg dev simply used Facebook as a very large, well known software shop that uses Mercurial. We could swap out "Facebook" for "Mozilla" or "Nginx Inc." or a number of open source (either community or corporate backed) projects.

Is Facebook still using mercurial? It seems that there was a blog post about it in 2014, but their repo[0] just seems to say that their codebase was originally based on/evolved from mercurial.

[0] https://github.com/facebookexperimental/eden


Facebook did contribute a lot to Mercurial back in the day; maybe not so much today.

Yes, this would be awesome for Mercurial.


Facebook uses Mercurial with a REALLY large monorepo with some extensions[0]. Google also has some usage of Mercurial.

[0] https://bitbucket.org/facebook/hg-experimental


You're right, I should have been more precise: They seem to be switching to Mercurial because they think it's easier to customize Mercurial in order to address scaling issues they're having. (And I'd guess that some of those customization are going to end up in a future Mercurial release.)

Btw, I'm pretty impressed by Facebook's open source efforts.


Yes, Mercurial is being actively developed; Facebook has a great post about why Mercurial and not Git with data: https://code.facebook.com/posts/218678814984400/scaling-merc...

Mercurial is used at Facebook, but it is heavily customized and goes through Phabricator. Just like Google uses Piper, which is “like Perforce” and goes through Critique.

Has Facebook switched to Mercurial? In one news it says so, in the next one read it has a ~50GB Git repo. If they really switched, it would be a good advertisement for Mercurial and its capabilities.
next

Legal | privacy