http://www.selenic.com/hg-logo/logo-droplets-200.png

Latest News

Work easier, work faster

Mercurial is a free, distributed source control management tool. It efficiently handles projects of any size and offers an easy and intuitive interface (more info).

How you can benefit from Mercurial

It is fast and powerful

Mercurial offers you the power and speed to efficiently handle projects of any size and kind. Every clone contains the whole project history, so committing, branching, tagging and merging are local operations which makes them fast and convenient. You can use a multitude of workflows and easily enhance its functionality with extensions.

It is easy to learn

You can follow our simple guide to learn how to revision your documents with Mercurial, or just use the quick start to get going instantly. A short overview of Mercurial's decentralized model is also available.

And it just works

Mercurial strives to deliver on each of its promises. Most tasks simply work on the first try and without requiring arcane knowledge.

Quick Start

Clone a project and create a patch

$ hg clone http://hg-scm.org/hello
$ cd hello
$ (edit files)
$ hg add (new files)
$ hg commit -m 'My changes'
$ hg export tip > patch.diff

Create a project and commit

$ hg init (project-directory)
$ cd (project-directory)
$ (add some files)
$ hg add
$ hg commit -m 'Initial commit'

Download

Mercurial 1.3.1 (Windows)

Another OS?

Get mercurial for: Mac OS X, Windows, other