Scaling Mercurial at Facebook
<i>Our code base has grown organically and its internal dependencies are very complex.</i><p>So instead of cleaning up the internal dependencies, they decided to rewrite Mercurial. That is the kind of thing Facebook likes to do: for example, when PHP got too slow, they wrote a PHP compiler....