mercurial/commands.py
changeset 15850 920433707a01
parent 15849 513ca86b88ef
child 15851 05ccad068313
equal deleted inserted replaced
15849:513ca86b88ef 15850:920433707a01
  4226 def phase(ui, repo, *revs, **opts):
  4226 def phase(ui, repo, *revs, **opts):
  4227     """set or show the current phase name
  4227     """set or show the current phase name
  4228 
  4228 
  4229     With no argument, show the phase name of specified revisions.
  4229     With no argument, show the phase name of specified revisions.
  4230 
  4230 
  4231     With one of `--public`, `--draft` or `--secret`, change the phase
  4231     With one of ``--public``, ``--draft`` or ``--secret``, change the
  4232     value of the specified revisions.
  4232     phase value of the specified revisions.
  4233 
  4233 
  4234     Unless -f/--force is specified, :hg:`phase` won't move changeset from a
  4234     Unless -f/--force is specified, :hg:`phase` won't move changeset from a
  4235     lower phase to an higher phase. Phases are ordered as follows:
  4235     lower phase to an higher phase. Phases are ordered as follows::
  4236 
  4236 
  4237         public < draft < secret
  4237         public < draft < secret
  4238     """
  4238     """
  4239     # search for a unique phase argument
  4239     # search for a unique phase argument
  4240     targetphase = None
  4240     targetphase = None