Sapling originated from the Mercurial open source project, which was largely Python (at the time).
Just to finish up, most of Mercurial has been rewritten in Rust, although the Python version is still the default install.
Just to finish up, most of Mercurial has been rewritten in Rust, although the Python version is still the default install.