hg sign#

add a signature for the current or given revision#

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

This command is provided by the gpg extension.

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

Every command accepts the global 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

--mq

operate on patch repository