phase: add a pointer to 'hg help phases' in the 'phase' help
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 19 Jun 2015 11:07:15 -0700
changeset 25626 ea0902e3128e
parent 25625 ce9e231265c1
child 25627 9573d8f346f1
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.
mercurial/commands.py
--- a/mercurial/commands.py	Thu Jun 18 15:39:52 2015 -0500
+++ b/mercurial/commands.py	Fri Jun 19 11:07:15 2015 -0700
@@ -4985,6 +4985,8 @@
 
     Returns 0 on success, 1 if no phases were changed or some could not
     be changed.
+
+    (For more information about the phases concept, see :hg:`help phases`.)
     """
     # search for a unique phase argument
     targetphase = None