effectflag: activate effect flag on test-evolve-cycles.t test file
authorBoris Feld <boris.feld@octobus.net>
Sun, 04 Jun 2017 20:38:04 +0200
changeset 2575 9019d41998ab
parent 2574 b6458de417bb
child 2576 bfc563aaac2a
effectflag: activate effect flag on test-evolve-cycles.t test file Prepare activation of effect flag by default by activating it on test-evolve- cycles.t test file first.
tests/test-evolve-cycles.t
--- a/tests/test-evolve-cycles.t	Sun Jun 04 20:33:45 2017 +0200
+++ b/tests/test-evolve-cycles.t	Sun Jun 04 20:38:04 2017 +0200
@@ -11,6 +11,8 @@
   > publish=False
   > [extensions]
   > evolve =
+  > [experimental]
+  > evolution.effect-flags = yes
   > EOF
 
 Test with cycle
@@ -86,48 +88,48 @@
 
   $ hg obslog "desc(A)" --hidden
   @  2a34000d3544 (1) A
-  |    rewritten by test (*) as c473644ee0e9 (glob)
+  |    rewritten(description, parent, content) by test (*) as c473644ee0e9 (glob)
   |
   x  a8df460dbbfe (3) C
-  |    rewritten by test (*) as 2a34000d3544 (glob)
+  |    rewritten(description, parent, content) by test (*) as 2a34000d3544 (glob)
   |
   x  c473644ee0e9 (2) B
-  |    rewritten by test (*) as a8df460dbbfe (glob)
+  |    rewritten(description, parent, content) by test (*) as a8df460dbbfe (glob)
   |
 
   $ hg obslog "desc(B)" --hidden
   @  2a34000d3544 (1) A
-  |    rewritten by test (*) as c473644ee0e9 (glob)
+  |    rewritten(description, parent, content) by test (*) as c473644ee0e9 (glob)
   |
   x  a8df460dbbfe (3) C
-  |    rewritten by test (*) as 2a34000d3544 (glob)
+  |    rewritten(description, parent, content) by test (*) as 2a34000d3544 (glob)
   |
   x  c473644ee0e9 (2) B
-  |    rewritten by test (*) as a8df460dbbfe (glob)
+  |    rewritten(description, parent, content) by test (*) as a8df460dbbfe (glob)
   |
 
   $ hg obslog "desc(C)" --hidden
   @  2a34000d3544 (1) A
-  |    rewritten by test (*) as c473644ee0e9 (glob)
+  |    rewritten(description, parent, content) by test (*) as c473644ee0e9 (glob)
   |
   x  a8df460dbbfe (3) C
-  |    rewritten by test (*) as 2a34000d3544 (glob)
+  |    rewritten(description, parent, content) by test (*) as 2a34000d3544 (glob)
   |
   x  c473644ee0e9 (2) B
-  |    rewritten by test (*) as a8df460dbbfe (glob)
+  |    rewritten(description, parent, content) by test (*) as a8df460dbbfe (glob)
   |
 
 Check that all option don't crash on a cycle either
 
   $ hg obslog "desc(C)" --hidden --all
   @  2a34000d3544 (1) A
-  |    rewritten by test (*) as c473644ee0e9 (glob)
+  |    rewritten(description, parent, content) by test (*) as c473644ee0e9 (glob)
   |
   x  a8df460dbbfe (3) C
-  |    rewritten by test (*) as 2a34000d3544 (glob)
+  |    rewritten(description, parent, content) by test (*) as 2a34000d3544 (glob)
   |
   x  c473644ee0e9 (2) B
-  |    rewritten by test (*) as a8df460dbbfe (glob)
+  |    rewritten(description, parent, content) by test (*) as a8df460dbbfe (glob)
   |
 
 Test with multiple cyles
@@ -243,42 +245,42 @@
 
   $ hg obslog "desc(D)" --hidden
   x  0da815c333f6 (5) E
-  |    rewritten by test (*) as d9f908fde1a1 (glob)
+  |    rewritten(description, parent, content) by test (*) as d9f908fde1a1 (glob)
   |
   @    868d2e0eb19c (4) D
-  |\     rewritten by test (*) as 0da815c333f6 (glob)
+  |\     rewritten(description, parent, content) by test (*) as 0da815c333f6 (glob)
   | |
   | x  d9f908fde1a1 (6) F
-  | |    rewritten by test (*) as 868d2e0eb19c (glob)
+  | |    rewritten(description, parent, content) by test (*) as 868d2e0eb19c (glob)
   | |
   +---x  2a34000d3544 (1) A
-  | |      rewritten by test (*) as c473644ee0e9 (glob)
+  | |      rewritten(description, parent, content) by test (*) as c473644ee0e9 (glob)
   | |
   x |  a8df460dbbfe (3) C
-  | |    rewritten by test (*) as 2a34000d3544, 868d2e0eb19c (glob)
+  | |    rewritten(description, parent, content) by test (*) as 2a34000d3544, 868d2e0eb19c (glob)
   | |
   x |  c473644ee0e9 (2) B
-  | |    rewritten by test (*) as a8df460dbbfe (glob)
+  | |    rewritten(description, parent, content) by test (*) as a8df460dbbfe (glob)
   | |
 Check that all option don't crash either on a cycle
   $ hg obslog --all --hidden "desc(F)"
   x  0da815c333f6 (5) E
-  |    rewritten by test (*) as d9f908fde1a1 (glob)
+  |    rewritten(description, parent, content) by test (*) as d9f908fde1a1 (glob)
   |
   @    868d2e0eb19c (4) D
-  |\     rewritten by test (*) as 0da815c333f6 (glob)
+  |\     rewritten(description, parent, content) by test (*) as 0da815c333f6 (glob)
   | |
   | x  d9f908fde1a1 (6) F
-  | |    rewritten by test (*) as 868d2e0eb19c (glob)
+  | |    rewritten(description, parent, content) by test (*) as 868d2e0eb19c (glob)
   | |
   +---x  2a34000d3544 (1) A
-  | |      rewritten by test (*) as c473644ee0e9 (glob)
+  | |      rewritten(description, parent, content) by test (*) as c473644ee0e9 (glob)
   | |
   x |  a8df460dbbfe (3) C
-  | |    rewritten by test (*) as 2a34000d3544, 868d2e0eb19c (glob)
+  | |    rewritten(description, parent, content) by test (*) as 2a34000d3544, 868d2e0eb19c (glob)
   | |
   x |  c473644ee0e9 (2) B
-  | |    rewritten by test (*) as a8df460dbbfe (glob)
+  | |    rewritten(description, parent, content) by test (*) as a8df460dbbfe (glob)
   | |
 Check the json output is valid in this case
 
@@ -287,6 +289,11 @@
       {
           "debugobshistory.markers": [
               {
+                  "debugobshistory.effect": [
+                      "description",
+                      "parent",
+                      "content"
+                  ],
                   "debugobshistory.marker_date": [
                       *, (glob)
                       0
@@ -305,6 +312,11 @@
       {
           "debugobshistory.markers": [
               {
+                  "debugobshistory.effect": [
+                      "description",
+                      "parent",
+                      "content"
+                  ],
                   "debugobshistory.marker_date": [
                       *, (glob)
                       0
@@ -323,6 +335,11 @@
       {
           "debugobshistory.markers": [
               {
+                  "debugobshistory.effect": [
+                      "description",
+                      "parent",
+                      "content"
+                  ],
                   "debugobshistory.marker_date": [
                       *, (glob)
                       0
@@ -341,6 +358,11 @@
       {
           "debugobshistory.markers": [
               {
+                  "debugobshistory.effect": [
+                      "description",
+                      "parent",
+                      "content"
+                  ],
                   "debugobshistory.marker_date": [
                       *, (glob)
                       0
@@ -360,6 +382,11 @@
       {
           "debugobshistory.markers": [
               {
+                  "debugobshistory.effect": [
+                      "description",
+                      "parent",
+                      "content"
+                  ],
                   "debugobshistory.marker_date": [
                       *, (glob)
                       0
@@ -378,6 +405,11 @@
       {
           "debugobshistory.markers": [
               {
+                  "debugobshistory.effect": [
+                      "description",
+                      "parent",
+                      "content"
+                  ],
                   "debugobshistory.marker_date": [
                       *, (glob)
                       0