Mercurial is a distributed open source source control (also known as "version control") system for tracking and handling file modifications. Mercurial can be used as the version control system for Python projects.

Official Mercurial logo.

Mercurial is an implementation of the source control concept. Learn how these pieces fit together in the development environments chapter or view the table of contents for all topics.

Mercurial tutorials

  • The official Mercurial tutorial goes through the basics. It has great examples for syntax and expected output.

  • Mercurial: The Definitive Guide is a free online version of the O'Reilly book.

  • Monoroke is a Mercurial server written in Rust designed to be used for very large monorepos that have thousands of commits affecting millions of files per hour.

What else do you want to learn about?

I've built a Python web app, now how do I deploy it?

I want to learn more about app users via web analytics.

How do I log errors that occur in my application?

Sign up for a monthly email with Full Stack Python tutorials. No spam ever.

Matt Makai 2012-2019