closehead

Contents

close arbitrary heads without checking them out first

Commands

Change manipulation

close-head

close the given head revisions:

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

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

[+] marked option can be specified multiple times

aliases: close-heads