This is an archived page. It's not actively maintained.


Mercurial (also known as "hg"), is the distributed version control software used for the development of Firefox, Thunderbird, and the shared Gecko core. It replaced CVS after Mozilla 1.9 was branched.

hg is the Mercurial command-line tool, Hg being the chemical symbol for the element mercury.

Learning to use Mercurial

First, read every word of Mercurial basics, before you do anything else.

Then, the Mercurial FAQ is a decent place to start.

See Getting Mozilla Source Code Using Mercurial for getting a tree to build.

See Mercurial Queues for managing queues of patches, and how to integrate Mercurial with Bugzilla.

Further reading

The hg book is the definitive Mercurial user guide.

The Mercurial tag lists the Mercurial-related articles on MDC.

And on, these helpful pages: