changeset 8992:ff7d899a7a71

help: add more pointers to commit --close-branch
author Matt Mackall <mpm@selenic.com>
date Wed, 01 Jul 2009 00:35:59 -0500
parents 7e0b31dfc66f
children 46441934c585
files mercurial/commands.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.