tests/test-commit-amend.t
branchstable
changeset 20700 b0153cb8b64e
parent 19980 0151b61fed97
child 20771 434619dae569
--- a/tests/test-commit-amend.t	Wed Mar 12 10:26:48 2014 +0200
+++ b/tests/test-commit-amend.t	Thu Mar 13 19:48:41 2014 +0900
@@ -765,3 +765,14 @@
   $ hg ci --close-branch -m'open and close'
   abort: can only close branch heads
   [255]
+
+Test that amend with --secret creates new secret changeset forcibly
+---------------------------------------------------------------------
+
+  $ hg phase '.^::.'
+  35: draft
+  36: draft
+  $ hg commit --amend --secret -m 'amend as secret' -q
+  $ hg phase '.^::.'
+  35: draft
+  38: secret