tests/test-amend.t
changeset 42938 09d46b90f6f9
parent 42643 ce52377102db
child 42939 f10a0f5eedae
--- a/tests/test-amend.t	Sat Sep 14 18:44:18 2019 -0400
+++ b/tests/test-amend.t	Sat Sep 14 23:40:12 2019 -0400
@@ -450,6 +450,12 @@
   abort: --date and --currentdate are mutually exclusive
   [255]
 
+Close branch
+
+  $ hg amend --close-branch
+  $ hg log --limit 1 -T 'close={get(extras, "close")}\n'
+  close=1
+
   $ cd ..
 
 Corner case of amend from issue6157: