Differences between revisions 7 and 10 (spanning 3 versions)
Revision 7 as of 2007-05-04 18:43:11
Size: 896
Editor: static-host-66-18-47-2
Comment: Spelling corrections
Revision 10 as of 2009-05-19 19:30:58
Size: 903
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
This extension allows for signing of mercurial revisions, checking them or listing of signed changesets. This extension allows for signing of Mercurial revisions, checking them or listing of signed [[ChangeSet|changesets]].
Line 23: Line 23:
key=/path/to/key key=KEYID

GPG extension

This extension is currently being distributed along with Mercurial.

Author: Benoit Benissot

1. Overview

This extension allows for signing of Mercurial revisions, checking them or listing of signed changesets.

2. Configuration

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

[extensions]
hgext.gpg=

Use the '[gpg]' stanza for optional configuration tweaks for the extension:

[gpg]
# if cmd is not provided it defaults to gpg
cmd=/path/to/gpg-command-to-use
# key is optional and can be provided on the command line
key=KEYID

3. 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.


CategoryExtension

GpgExtension (last edited 2013-09-03 03:39:42 by KevinBot)