Mercurial, also known as hg, is yet another distributed version control system. It’s written in Python and includes “mercurial.el” using VC.

vc-hg.el is part of Emacs since version 22.2 (released March 2008).

DistributedVersionControl supports Mercurial.

Another Mercurial mode can be found at It’s being developed under XEmacs.

There’s another Mercurial mode, aHg, at .

If you like using Magit for Git, you will find it interesting to work with Monky - Magit for Hg.

Using Ediff to merge

See MergingWithEmacs on the Mercurial wiki to learn how to use EdiffMode as the merger program.


Small article about using Emacs with mercurial.el