--- a/mercurial/commands.py Fri May 22 13:06:45 2015 -0700
+++ b/mercurial/commands.py Wed May 27 17:28:55 2015 -0500
@@ -1080,7 +1080,9 @@
change.
Use the command :hg:`update` to switch to an existing branch. Use
- :hg:`commit --close-branch` to mark this branch as closed.
+ :hg:`commit --close-branch` to mark this branch head as closed.
+ When all heads of the branch are closed, the branch will be
+ considered closed.
Returns 0 on success.
"""
@@ -1418,7 +1420,7 @@
[('A', 'addremove', None,
_('mark new/missing files as added/removed before committing')),
('', 'close-branch', None,
- _('mark a branch as closed, hiding it from the branch list')),
+ _('mark a branch head as closed')),
('', 'amend', None, _('amend the parent of the working directory')),
('s', 'secret', None, _('use the secret phase for committing')),
('e', 'edit', None, _('invoke editor on commit messages')),
@@ -1444,6 +1446,10 @@
commit fails, you will find a backup of your message in
``.hg/last-message.txt``.
+ The --close-branch flag can be used to mark the current branch
+ head closed. When all heads of a branch are closed, the branch
+ will be considered closed and no longer listed.
+
The --amend flag can be used to amend the parent of the
working directory with a new commit that contains the changes
in the parent in addition to those currently reported by :hg:`status`,