hg phase#
set or show the current phase name#
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`.)