comparison mercurial/commands.py @ 20633:2d183dd54384 stable

phase: say "Returns 0" instead of "Return 0" like other command help
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Mar 2014 15:50:45 +0900
parents ba619c50a355
children 7cd956ace1f4 b0153cb8b64e
comparison
equal deleted inserted replaced
20626:9096f83f9e7c 20633:2d183dd54384
4481 Unless -f/--force is specified, :hg:`phase` won't move changeset from a 4481 Unless -f/--force is specified, :hg:`phase` won't move changeset from a
4482 lower phase to an higher phase. Phases are ordered as follows:: 4482 lower phase to an higher phase. Phases are ordered as follows::
4483 4483
4484 public < draft < secret 4484 public < draft < secret
4485 4485
4486 Return 0 on success, 1 if no phases were changed or some could not 4486 Returns 0 on success, 1 if no phases were changed or some could not
4487 be changed. 4487 be changed.
4488 """ 4488 """
4489 # search for a unique phase argument 4489 # search for a unique phase argument
4490 targetphase = None 4490 targetphase = None
4491 for idx, name in enumerate(phases.phasenames): 4491 for idx, name in enumerate(phases.phasenames):