Show More
@@ -36,6 +36,7 b' command = registrar.command(cmdtable)' | |||||
36 | ('i', 'interactive', None, _('use interactive mode')), |
|
36 | ('i', 'interactive', None, _('use interactive mode')), | |
37 | (b'', b'close-branch', None, |
|
37 | (b'', b'close-branch', None, | |
38 | _(b'mark a branch as closed, hiding it from the branch list')), |
|
38 | _(b'mark a branch as closed, hiding it from the branch list')), | |
|
39 | (b's', b'secret', None, _(b'use the secret phase for committing')), | |||
39 | ('n', 'note', '', _('store a note on the amend')), |
|
40 | ('n', 'note', '', _('store a note on the amend')), | |
40 | ] + cmdutil.walkopts + cmdutil.commitopts + cmdutil.commitopts2 |
|
41 | ] + cmdutil.walkopts + cmdutil.commitopts + cmdutil.commitopts2 | |
41 | + cmdutil.commitopts3, |
|
42 | + cmdutil.commitopts3, |
@@ -4,6 +4,8 b'' | |||||
4 |
|
4 | |||
5 | * The amend extension supports the `--close-branch` argument. |
|
5 | * The amend extension supports the `--close-branch` argument. | |
6 |
|
6 | |||
|
7 | * The amend extension supports the `--secret` argument. | |||
|
8 | ||||
7 | * The uncommit extension supports the `rewrite.update-timestamp` config option. |
|
9 | * The uncommit extension supports the `rewrite.update-timestamp` config option. | |
8 |
|
10 | |||
9 | == New Experimental Features == |
|
11 | == New Experimental Features == |
@@ -452,9 +452,10 b' Bad combination of date options:' | |||||
452 |
|
452 | |||
453 | Close branch |
|
453 | Close branch | |
454 |
|
454 | |||
455 | $ hg amend --close-branch |
|
455 | $ hg amend --secret --close-branch | |
456 | $ hg log --limit 1 -T 'close={get(extras, "close")}\n' |
|
456 | $ hg log --limit 1 -T 'close={get(extras, "close")}\nphase={phase}\n' | |
457 | close=1 |
|
457 | close=1 | |
|
458 | phase=secret | |||
458 |
|
459 | |||
459 | $ cd .. |
|
460 | $ cd .. | |
460 |
|
461 |
General Comments 0
You need to be logged in to leave comments.
Login now