##// END OF EJS Templates
amend: enable support for using the secret phase...
Matt Harbison -
r43205:f10a0f5e default
parent child Browse files
Show More
@@ -36,6 +36,7 b' command = registrar.command(cmdtable)'
36 36 ('i', 'interactive', None, _('use interactive mode')),
37 37 (b'', b'close-branch', None,
38 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 40 ('n', 'note', '', _('store a note on the amend')),
40 41 ] + cmdutil.walkopts + cmdutil.commitopts + cmdutil.commitopts2
41 42 + cmdutil.commitopts3,
@@ -4,6 +4,8 b''
4 4
5 5 * The amend extension supports the `--close-branch` argument.
6 6
7 * The amend extension supports the `--secret` argument.
8
7 9 * The uncommit extension supports the `rewrite.update-timestamp` config option.
8 10
9 11 == New Experimental Features ==
@@ -452,9 +452,10 b' Bad combination of date options:'
452 452
453 453 Close branch
454 454
455 $ hg amend --close-branch
456 $ hg log --limit 1 -T 'close={get(extras, "close")}\n'
455 $ hg amend --secret --close-branch
456 $ hg log --limit 1 -T 'close={get(extras, "close")}\nphase={phase}\n'
457 457 close=1
458 phase=secret
458 459
459 460 $ cd ..
460 461
General Comments 0
You need to be logged in to leave comments. Login now