config: replace experimental.stabilization by experimental.evolution
authorBoris Feld <boris.feld@octobus.net>
Tue, 17 Oct 2017 11:29:26 +0200
changeset 34865 a0100f34e20b
parent 34864 fec79a3f250f
child 34866 1644623ab096
config: replace experimental.stabilization by experimental.evolution We replace 'experimental.stabilization=all' by 'experimental.evolution=true' as we will extract individual config in their own config in later patches. Differential Revision: https://phab.mercurial-scm.org/D1148
tests/test-drawdag.t
tests/test-obsmarker-template.t
tests/test-obsolete-bundle-strip.t
tests/test-push-race.t
tests/test-rebase-conflicts.t
tests/test-rebase-dest.t
tests/test-rebase-obsolete.t
tests/test-rebase-scenario-global.t
tests/test-strip.t
tests/testlib/exchange-obsmarker-util.sh
--- a/tests/test-drawdag.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-drawdag.t	Tue Oct 17 11:29:26 2017 +0200
@@ -2,7 +2,7 @@
   > [extensions]
   > drawdag=$TESTDIR/drawdag.py
   > [experimental]
-  > stabilization=all
+  > evolution=true
   > EOF
 
   $ reinit () {
--- a/tests/test-obsmarker-template.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-obsmarker-template.t	Tue Oct 17 11:29:26 2017 +0200
@@ -10,7 +10,7 @@
   > [phases]
   > publish=False
   > [experimental]
-  > stabilization=all
+  > evolution=true
   > [templates]
   > obsfatesuccessors = "{if(successors, " as ")}{join(successors, ", ")}"
   > obsfateverb = "{obsfateverb(successors)}"
--- a/tests/test-obsolete-bundle-strip.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-obsolete-bundle-strip.t	Tue Oct 17 11:29:26 2017 +0200
@@ -15,7 +15,7 @@
   > 
   > [experimental]
   > # enable evolution
-  > stabilization = all
+  > evolution=true
   > 
   > # include obsmarkers in bundle
   > stabilization.bundle-obsmarker = yes
--- a/tests/test-push-race.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-push-race.t	Tue Oct 17 11:29:26 2017 +0200
@@ -108,7 +108,7 @@
   > [phases]
   > publish = no
   > [experimental]
-  > stabilization = all
+  > evolution=true
   > [alias]
   > graph = log -G --rev 'sort(all(), "topo")'
   > EOF
--- a/tests/test-rebase-conflicts.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-rebase-conflicts.t	Tue Oct 17 11:29:26 2017 +0200
@@ -397,7 +397,7 @@
   $ hg update E -q
   $ echo 3 > B
   $ hg commit --amend -m E -A B -q
-  $ hg rebase -r B+D -d . --config experimental.stabilization=all
+  $ hg rebase -r B+D -d . --config experimental.evolution=true
   rebasing 1:112478962961 "B" (B)
   merging B
   warning: conflicts while merging B! (edit, then use 'hg resolve --mark')
@@ -408,7 +408,7 @@
   $ hg resolve -m
   (no more unresolved files)
   continue: hg rebase --continue
-  $ hg rebase --continue --config experimental.stabilization=none
+  $ hg rebase --continue --config experimental.evolution=none
   rebasing 1:112478962961 "B" (B)
   rebasing 3:f585351a92f8 "D" (D)
   warning: orphaned descendants detected, not stripping 112478962961
--- a/tests/test-rebase-dest.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-rebase-dest.t	Tue Oct 17 11:29:26 2017 +0200
@@ -116,7 +116,7 @@
   > maprevset=$TESTTMP/maprevset.py
   > [experimental]
   > rebase.multidest=true
-  > stabilization=all
+  > evolution=true
   > EOF
 
   $ rebasewithdag() {
--- a/tests/test-rebase-obsolete.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-rebase-obsolete.t	Tue Oct 17 11:29:26 2017 +0200
@@ -735,7 +735,7 @@
   |
   o  0:4a2df7238c3b A
   
-  $ hg debugobsolete `hg log -r 7 -T '{node}\n'` --config experimental.stabilization=all
+  $ hg debugobsolete `hg log -r 7 -T '{node}\n'` --config experimental.evolution=true
   obsoleted 1 changesets
   $ hg rebase -d 6 -r "4::"
   rebasing 4:ff2c4d47b71d "C"
@@ -763,7 +763,7 @@
   $ hg add nonrelevant
   $ hg commit -m nonrelevant
   created new head
-  $ hg debugobsolete `hg log -r 11 -T '{node}\n'` --config experimental.stabilization=all
+  $ hg debugobsolete `hg log -r 11 -T '{node}\n'` --config experimental.evolution=true
   obsoleted 1 changesets
   $ hg rebase -r . -d 10
   note: not rebasing 11:f44da1f4954c "nonrelevant" (tip), it has no successor
@@ -886,7 +886,7 @@
   $ printf "dummy" > L
   $ hg add L
   $ hg commit -m "dummy change"
-  $ hg debugobsolete `hg log -r ".^" -T '{node}'` `hg log -r 18 -T '{node}'` --config experimental.stabilization=all
+  $ hg debugobsolete `hg log -r ".^" -T '{node}'` `hg log -r 18 -T '{node}'` --config experimental.evolution=true
   obsoleted 1 changesets
 
   $ hg log -G -r 16::
@@ -1205,7 +1205,7 @@
 equivalents in destination
   $ hg init rbsrepo && cd rbsrepo
   $ echo "[experimental]" > .hg/hgrc
-  $ echo "stabilization=all" >> .hg/hgrc
+  $ echo "evolution=true" >> .hg/hgrc
   $ echo "rebaseskipobsolete=on" >> .hg/hgrc
   $ echo root > root && hg ci -Am root
   adding root
--- a/tests/test-rebase-scenario-global.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-rebase-scenario-global.t	Tue Oct 17 11:29:26 2017 +0200
@@ -968,7 +968,7 @@
   > [extensions]
   > wraprebase=$TESTTMP/wraprebase.py
   > [experimental]
-  > stabilization=all
+  > evolution=true
   > EOF
 
   $ hg debugdrawdag <<'EOS'
--- a/tests/test-strip.t	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/test-strip.t	Tue Oct 17 11:29:26 2017 +0200
@@ -1280,7 +1280,7 @@
   $ cd $TESTTMP/scmutilcleanup.obsstore
   $ cat >> .hg/hgrc <<EOF
   > [experimental]
-  > stabilization=all
+  > evolution=true
   > stabilization.track-operation=1
   > EOF
 
@@ -1322,7 +1322,7 @@
   $ cd issue5678
   $ cat >> .hg/hgrc <<EOF
   > [experimental]
-  > evolution=all
+  > evolution=true
   > EOF
   $ echo a > a
   $ hg ci -Aqm a
--- a/tests/testlib/exchange-obsmarker-util.sh	Mon Oct 16 17:14:47 2017 +0200
+++ b/tests/testlib/exchange-obsmarker-util.sh	Tue Oct 17 11:29:26 2017 +0200
@@ -26,7 +26,7 @@
 # reduce output changes
 bundle2-output-capture=True
 # enable evolution
-evolution=all
+evolution=true
 
 [extensions]
 # we need to strip some changeset for some test cases