--- 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)
+