Size: 715
Comment: Add gpg extension page
|
Size: 856
Comment: Add category extension
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
fetch= | hgext.gpg= |
Line 15: | Line 15: |
Use the '[gpg]' stanza for additional configuration of the extension: | Use the '[gpg]' stanza for optional configuration tweaks for the extension: |
Line 18: | Line 18: |
# if cmd is not provided it defaults to gpg | |
Line 19: | Line 20: |
# key is optional and can be provided on the command line | |
Line 34: | Line 36: |
---- CategoryExtension |
GPG extension
This extension is currently being distributed along with Mercurial.
1. Overview
This extension allows to sign mercurial revisions, checking them or list the 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=/path/to/key
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.