effectflag: add test combining multiple flag
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 19 May 2017 19:45:04 +0200
changeset 2451 5dc7294327ed
parent 2450 98613938d098
child 2452 d3844cdc202a
effectflag: add test combining multiple flag We check that multiple changes might be detected a the same time.
tests/test-evolve-effectflags.t
--- a/tests/test-evolve-effectflags.t	Fri May 19 20:15:05 2017 +0200
+++ b/tests/test-evolve-effectflags.t	Fri May 19 19:45:04 2017 +0200
@@ -90,3 +90,20 @@
   x  f75604747b4f (8) E0
        rewritten by test (*) as bed7e49faeb8 (glob)
   
+
+amend with multiple effect (desc and meta)
+-------------------------------------------
+
+  $ mkcommit F0
+  $ hg amend -m F1 -u "bob <bob@bob.com>"
+
+check result
+
+  $ hg debugobsolete --rev .
+  713ccc39944e10bd35b7f6eaed3eef0eab60e50b 7d0186621c5ba1b0f7c5c99668d43273cb44c2fe 0 (*) {'ef1': '3', 'user': 'test'}
+  $ hg obslog .
+  @  7d0186621c5b (12) F1
+  |
+  x  713ccc39944e (11) F0
+       rewritten by test (*) as 7d0186621c5b
+