comparison mercurial/commands.py @ 25626:ea0902e3128e

phase: add a pointer to 'hg help phases' in the 'phase' help The command and the general topic have very similar name. The topic is pointing to the command, but the command was not pointing to the topic.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 19 Jun 2015 11:07:15 -0700
parents 72edd54de935
children e43e7d58a65d
comparison
equal deleted inserted replaced
25625:ce9e231265c1 25626:ea0902e3128e
4983 4983
4984 public < draft < secret 4984 public < draft < secret
4985 4985
4986 Returns 0 on success, 1 if no phases were changed or some could not 4986 Returns 0 on success, 1 if no phases were changed or some could not
4987 be changed. 4987 be changed.
4988
4989 (For more information about the phases concept, see :hg:`help phases`.)
4988 """ 4990 """
4989 # search for a unique phase argument 4991 # search for a unique phase argument
4990 targetphase = None 4992 targetphase = None
4991 for idx, name in enumerate(phases.phasenames): 4993 for idx, name in enumerate(phases.phasenames):
4992 if opts[name]: 4994 if opts[name]: