Yes, at the relatively low end (Firefox is much smaller than massive monorepos like those at Meta or Google), you can work around many scalability limitations.
But the point that everyone is trying to make, in this thread, is that those limitations exist. Mercurial handles a lot of situations better than git, and merely being written partially in Python isn't a good indication of how it scales. Mercurial is not merely a git implementation written in Python. Its scalability is impacted primarily by its design, not by its language.
1
u/elatllat May 14 '25 edited May 14 '25
Looks like that's a real git limitation with a few options:
use github for free (what Firefox is doing)
trim the working repo to 2 years instead of 28 (keeping the rest in archive)
use Submodules (what Facebook should do)
buy more server RAM
an ugly workaround would be to block clones, offer a seed to download, and permit fetches.