Show More
@@ -1080,7 +1080,9 b' def branch(ui, repo, label=None, **opts)' | |||
|
1080 | 1080 | change. |
|
1081 | 1081 | |
|
1082 | 1082 | Use the command :hg:`update` to switch to an existing branch. Use |
|
1083 | :hg:`commit --close-branch` to mark this branch as closed. | |
|
1083 | :hg:`commit --close-branch` to mark this branch head as closed. | |
|
1084 | When all heads of the branch are closed, the branch will be | |
|
1085 | considered closed. | |
|
1084 | 1086 | |
|
1085 | 1087 | Returns 0 on success. |
|
1086 | 1088 | """ |
@@ -1418,7 +1420,7 b' def clone(ui, source, dest=None, **opts)' | |||
|
1418 | 1420 | [('A', 'addremove', None, |
|
1419 | 1421 | _('mark new/missing files as added/removed before committing')), |
|
1420 | 1422 | ('', 'close-branch', None, |
|
1421 |
_('mark a branch as closed |
|
|
1423 | _('mark a branch head as closed')), | |
|
1422 | 1424 | ('', 'amend', None, _('amend the parent of the working directory')), |
|
1423 | 1425 | ('s', 'secret', None, _('use the secret phase for committing')), |
|
1424 | 1426 | ('e', 'edit', None, _('invoke editor on commit messages')), |
@@ -1444,6 +1446,10 b' def commit(ui, repo, *pats, **opts):' | |||
|
1444 | 1446 | commit fails, you will find a backup of your message in |
|
1445 | 1447 | ``.hg/last-message.txt``. |
|
1446 | 1448 | |
|
1449 | The --close-branch flag can be used to mark the current branch | |
|
1450 | head closed. When all heads of a branch are closed, the branch | |
|
1451 | will be considered closed and no longer listed. | |
|
1452 | ||
|
1447 | 1453 | The --amend flag can be used to amend the parent of the |
|
1448 | 1454 | working directory with a new commit that contains the changes |
|
1449 | 1455 | in the parent in addition to those currently reported by :hg:`status`, |
@@ -58,8 +58,7 b' help record (record)' | |||
|
58 | 58 | |
|
59 | 59 | -A --addremove mark new/missing files as added/removed before |
|
60 | 60 | committing |
|
61 |
--close-branch mark a branch as closed |
|
|
62 | list | |
|
61 | --close-branch mark a branch head as closed | |
|
63 | 62 | --amend amend the parent of the working directory |
|
64 | 63 | -s --secret use the secret phase for committing |
|
65 | 64 | -e --edit invoke editor on commit messages |
@@ -45,8 +45,7 b' Record help' | |||
|
45 | 45 | |
|
46 | 46 | -A --addremove mark new/missing files as added/removed before |
|
47 | 47 | committing |
|
48 |
--close-branch mark a branch as closed |
|
|
49 | list | |
|
48 | --close-branch mark a branch head as closed | |
|
50 | 49 | --amend amend the parent of the working directory |
|
51 | 50 | -s --secret use the secret phase for committing |
|
52 | 51 | -e --edit invoke editor on commit messages |
General Comments 0
You need to be logged in to leave comments.
Login now