Mercurial
mercurial-scm.org
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What Mercurial is
Mercurial is a free, distributed source control management tool for versioned projects. Each developer keeps a local copy of the entire development history, so work can continue without a network connection or central server. It is designed for projects of any size and supports diffs, commits, branching, and merging. Mercurial runs on Windows, macOS, and Linux, with binary releases also available for Solaris 11 Express and other platforms. Installation instructions cover system packages, Windows winget, Homebrew, PyPI tools, and source builds. Python extensions can add or alter commands and access core functionality. Official extensions include Git command mapping, email notifications, external diff tools, and Bugzilla hooks. The acl extension can allow or deny write access to branches and paths when changesets arrive. Mercurial is licensed under the GNU GPL version 2 or later. It supports sparse checkout and nested repositories; large-file handling is available through an extension. Its documentation warns of a clone-time code-execution risk involving carefully constructed Git subrepositories, which are disabled by default.
Who it suits
Mercurial suits developers who want distributed version control and the ability to work from a local project history. Its extensions and access controls may also suit teams with specific workflow needs.
Good to know, and what to watch
- Local history supports work without a network connection.
- Supports commits, branching, and merging.
- Python extensions can add or change commands.
- The acl extension controls write access to branches and paths.
- Available for Windows, macOS, and Linux.
- Large-file handling requires an extension.
- Documentation warns of a clone-time code-execution risk involving Git subrepositories.
Plans
Every plan and priceMercurial
Free plan
The verdict
Mercurial provides distributed source control with extension options and broad installation methods. Review its documented subrepository security limitation before enabling Git subrepositories.
What the maker publishes
- Access control
- The acl extension allows or denies write access to branches and paths when receiving incoming changesets. source
- Community support
- Users can get help through the Matrix channel, IRC and the general Mercurial mailing list. source
- Distributed architecture
- Each developer has a local copy of the entire development history and can work independently of network access or a central server. source
- Extensibility
- Python extensions can add commands, change existing commands and access Mercurial core functionality. source
- Installation methods
- Official installation instructions cover system packages, Windows winget, Homebrew, PyPI tools and source builds. source
- Integrations
- Official extensions include Bugzilla hooks, Git command mapping, Git fast-export, email notifications and external diff tools. source
- Open source license
- Mercurial is licensed under the GNU General Public License version 2 or any later version. source
- Origin
- Work on Mercurial began in April 2005 with a goal of efficiently managing Linux-sized trees. source
- Performance
- Mercurial is designed to handle projects of any size with fast diffs, commits, branching and merging. source
- Product type
- Mercurial is a free, distributed source control management tool. source
- Project governance
- The Mercurial project is run by its community and coordinated by committers and reviewers under a steering committee. source
- Security limitation
- Mercurial documentation warns that auditing is insufficient to prevent clone-time code execution through carefully constructed Git subrepositories, which are disabled by default. source
- Security reporting
- The project provides a moderated mercurial-security mailing list for private security discussion and reporting. source
- Supported systems
- Binary releases are available for Microsoft Windows, GNU/Linux, macOS, Solaris 11 Express and other platforms. source
Checked against the maker's pages on 30 Sept 2026.