hg phase#
set or show the current phase name#
hg phase [-p|-d|-s] [-f] [-r] [REV...]
With no argument, show the phase name of the current revision(s).
With one of -p/--public, -d/--draft or -s/--secret, change the phase value of the specified revisions.
Unless -f/--force is specified, `hg phase` won't move changesets from a lower phase to a higher phase. Phases are ordered as follows:
public < draft < secret
Returns 0 on success, 1 if some phases could not be changed.
(For more information about the phases concept, see `hg help phases`.)
Options
Every command accepts the global options.
|
|
set changeset phase to public |
|
|
set changeset phase to draft |
|
|
set changeset phase to secret |
|
|
allow to move boundary backward |
|
|
target revision |
Options marked [+] can be repeated.