tests/test-evolve-effectflags.t
changeset 2522 a1cc2a0b9f6f
parent 2520 5fb5d096348c
child 2832 07b9fcf8b6d3
--- a/tests/test-evolve-effectflags.t	Tue May 30 17:32:39 2017 +0200
+++ b/tests/test-evolve-effectflags.t	Tue May 30 11:06:24 2017 +0200
@@ -199,3 +199,20 @@
   x  b57fed8d8322 (20) H1
        rewritten(parent) by test (*) as e509e2eb3df5 (glob)
   
+amend closing the branch should be detected as meta change
+----------------------------------------------------------
+
+  $ hg branch closedbranch
+  marked working directory as branch closedbranch
+  $ mkcommit G0
+  $ mkcommit I0
+  $ hg commit --amend --close-branch
+
+check result
+
+  $ hg obslog .
+  @  12c6238b5e37 (26) I0
+  |
+  x  2f599e54c1c6 (24) I0
+       rewritten(meta) by test (*) as 12c6238b5e37 (glob)
+