|
|
Subscribe / Log in / New account

Meta's Sapling source-code management system

Meta's Sapling source-code management system

Posted Nov 17, 2022 15:28 UTC (Thu) by IanKelling (subscriber, #89418)
In reply to: Meta's Sapling source-code management system by paulj
Parent article: Meta's Sapling source-code management system

> I'm not sure this is a fork of the mercurial code-base.

I downloaded the repo. It is a copy of the mercurial repo from 2005 onward until it forks.


to post comments

Meta's Sapling source-code management system

Posted Nov 17, 2022 16:45 UTC (Thu) by paulj (subscriber, #341) [Link] (2 responses)

Which code-base are you looking at?

I'm looking at https://github.com/facebook/sapling and - at a high-level anyway - I don't see anything from mercurial in the head/tip, nor in the history. I know internally that monnooke was a from-scratch rewrite. And the Eden object store and SCM backend isn't from mercurial either.

I could be confused, but can you be more explicit about what part of Sapling started out as mercurial code?

Meta's Sapling source-code management system

Posted Nov 18, 2022 13:52 UTC (Fri) by IanKelling (subscriber, #89418) [Link] (1 responses)

Yes, that repo you link to if you do git log --stat, and go to the end of the output, there are thousands of commits to mercurial starting in 2005. What history are you looking at? It isn't definitive, it will take a detailed analysis, but facebook should be the one clearly explaining whether mercurial copyrights are still a part of this codebase, that is another wrong they have done here. Also, you said "rewritten" as if that makes it no longer a fork but that in no way excludes it from being a fork of the same program https://en.wikipedia.org/wiki/Derivative_work.

Meta's Sapling source-code management system

Posted Nov 18, 2022 14:15 UTC (Fri) by paulj (subscriber, #341) [Link]

Yeah, sorry, you're right. The fb mercurial repo got merged in, to a subdir at some point - in gitk that happens in the middle of the history, and I had looked at top and bottom. :)

The mercurial code is there at: https://github.com/facebook/sapling/tree/main/eden/scm/ed... - maybe in other places.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds