mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
help: add more pointers to commit --close-branch
This commit is contained in:
parent
a87df088a6
commit
c92524ffa3
@ -419,7 +419,8 @@ def branch(ui, repo, label=None, **opts):
|
||||
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 @@ def heads(ui, repo, *branchrevs, **opts):
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user