gpg

Contents

commands to sign and verify changesets

Commands

Signing changes (GPG)

sigcheck

verify all the signatures there may be for a particular revision:

hg sigcheck REV

verify all the signatures there may be for a particular revision

sign

add a signature for the current or given revision:

hg sign [OPTION]... [REV]...

If no revision is given, the parent of the working directory is used, or tip if no revision is checked out.

The gpg.cmd config setting can be used to specify the command to run. A default key can be specified with gpg.key.

See hg help dates for a list of formats valid for -d/--date.

Options:

-l, --local make the signature local
-f, --force sign even if the sigfile is modified
--no-commit do not commit the sigfile after signing
-k, --key <ID> the key id to sign with
-m, --message <TEXT>
 use text as commit message
-e, --edit invoke editor on commit messages
-d, --date <DATE>
 record the specified date as commit date
-u, --user <USER>
 record the specified user as committer

sigs

list signed changesets:

hg sigs

list signed changesets