##// END OF EJS Templates
help: add more pointers to commit --close-branch
Matt Mackall -
r8992:ff7d899a default
parent child Browse files
Show More
@@ -419,7 +419,8 b' def branch(ui, repo, label=None, **opts)'
419 the parent of the working directory, negating a previous branch
419 the parent of the working directory, negating a previous branch
420 change.
420 change.
421
421
422 Use the command 'hg update' to switch to an existing branch.
422 Use the command 'hg update' to switch to an existing branch. Use
423 'hg commit --close-branch' to mark this branch as closed.
423 """
424 """
424
425
425 if opts.get('clean'):
426 if opts.get('clean'):
@@ -1376,7 +1377,8 b' def heads(ui, repo, *branchrevs, **opts)'
1376 any descendants on the same branch. A branch head could be a true head
1377 any descendants on the same branch. A branch head could be a true head
1377 or it could be the last changeset on a branch before a new branch
1378 or it could be the last changeset on a branch before a new branch
1378 was created. If none of the branch heads are true heads, the branch
1379 was created. If none of the branch heads are true heads, the branch
1379 is considered inactive.
1380 is considered inactive. If -c/--closed is specified, also show branch
1381 heads marked closed (see hg commit --close-branch).
1380
1382
1381 If STARTREV is specified only those heads (or branch heads) that
1383 If STARTREV is specified only those heads (or branch heads) that
1382 are descendants of STARTREV will be displayed.
1384 are descendants of STARTREV will be displayed.
General Comments 0
You need to be logged in to leave comments. Login now