help: add more pointers to commit --close-branch
authorMatt Mackall <mpm@selenic.com>
Wed, 01 Jul 2009 00:35:59 -0500
changeset 8992 ff7d899a7a71
parent 8991 7e0b31dfc66f
child 8993 46441934c585
help: add more pointers to commit --close-branch
mercurial/commands.py
--- a/mercurial/commands.py	Wed Jul 01 00:31:59 2009 -0500
+++ b/mercurial/commands.py	Wed Jul 01 00:35:59 2009 -0500
@@ -419,7 +419,8 @@
     the parent of the working directory, negating a previous branch
     change.
 
-    Use the command 'hg update' to switch to an existing branch.
+    Use the command 'hg update' to switch to an existing branch. Use
+    'hg commit --close-branch' to mark this branch as closed.
     """
 
     if opts.get('clean'):
@@ -1376,7 +1377,8 @@
     any descendants on the same branch. A branch head could be a true head
     or it could be the last changeset on a branch before a new branch
     was created. If none of the branch heads are true heads, the branch
-    is considered inactive.
+    is considered inactive. If -c/--closed is specified, also show branch
+    heads marked closed (see hg commit --close-branch).
 
     If STARTREV is specified only those heads (or branch heads) that
     are descendants of STARTREV will be displayed.