Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2007-01-17 19:44:48
Size: 715
Comment: Add gpg extension page
Revision 8 as of 2007-07-27 16:48:39
Size: 889
Editor: p5B00F415
Comment: key is specified by ID not path
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
''Author: Benoit Benissot''
Line 5: Line 7:
This extension allows to sign mercurial revisions, checking them or list the signed changesets. This extension allows for signing of mercurial revisions, checking them or listing of signed changesets.
Line 12: Line 14:
fetch= hgext.gpg=
Line 15: Line 17:
Use the '[gpg]' stanza for additional configuration of the extension: Use the '[gpg]' stanza for optional configuration tweaks for the extension:
Line 18: Line 20:
# if cmd is not provided it defaults to gpg
Line 19: Line 22:
key=/path/to/key # key is optional and can be provided on the command line
key=KEYID
Line 34: Line 38:

----
CategoryExtension

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)