GPG extension

This extension is currently being distributed along with Mercurial.

Overview

This extension allows to sign mercurial revisions, checking them or list the signed changesets.

Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
fetch=

Use the '[gpg]' stanza for additional configuration of the extension:

[gpg]
cmd=/path/to/gpg-command-to-use
key=/path/to/key

Usage

Sign one or more revisions: hg sign [OPTION]... [REVISION]...

Check signed revision: hg sigcheck REVISION

List signed revisions: hg sigs

Use hg help for additional options.