hg close-head

hg close-head#

close the given head revisions#

hg close-head [OPTION]... [REV]...

Aliases: close-heads, closehead, closeheads

This command is provided by the closehead extension.

This is equivalent to checking out each revision in a clean tree and running hg commit --close-branch, except that it doesn't change the working directory.

The commit message must be specified with -l or -m.

Options

-m

--message TEXT

use text as commit message

-l

--logfile FILE

read commit message from file

-d

--date DATE

record the specified date as commit date

-u

--user USER

record the specified user as committer

-r

--rev REV [+]

revision to check

--mq

operate on patch repository

Options marked [+] can be repeated.