config: use 'experimental.evolution.allowunstable'
authorBoris Feld <boris.feld@octobus.net>
Thu, 28 Sep 2017 18:56:40 +0100
changeset 34867 7f183c643eb6
parent 34866 1644623ab096
child 34868 44797aedfb35
config: use 'experimental.evolution.allowunstable' Extract 'experimental.evolution' = allowunstable as 'experimental.evolution.allowunstable'. We keep the new option in the 'experimental.evolution' namespace in order to stay coherent with other options ('experimental.evolution.bundle-obsmarker' and 'experimental.evolution.track-operation') ease the renaming as possibly 'evolution.allowunstable'. Differential Revision: https://phab.mercurial-scm.org/D1150
tests/test-amend.t
tests/test-commit-amend.t
tests/test-histedit-arguments.t
tests/test-histedit-obsolete.t
tests/test-rebase-brute-force.t
tests/test-rebase-obsolete.t
tests/test-rebase-partial.t
tests/test-uncommit.t
--- a/tests/test-amend.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-amend.t	Thu Sep 28 18:56:40 2017 +0100
@@ -180,8 +180,8 @@
 
   $ cat >> $HGRCPATH <<EOF
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > EOF
 
   $ hg amend
--- a/tests/test-commit-amend.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-commit-amend.t	Thu Sep 28 18:56:40 2017 +0100
@@ -519,8 +519,8 @@
 
   $ cat >> $HGRCPATH << EOF
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > EOF
 
 Amend with no files changes
--- a/tests/test-histedit-arguments.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-histedit-arguments.t	Thu Sep 28 18:56:40 2017 +0100
@@ -496,8 +496,8 @@
 
   $ cat >>$HGRCPATH <<EOF
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > EOF
   $ hg commit --amend -m 'allow this fold'
   $ hg histedit --continue
--- a/tests/test-histedit-obsolete.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-histedit-obsolete.t	Thu Sep 28 18:56:40 2017 +0100
@@ -8,8 +8,8 @@
   > [phases]
   > publish=False
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > [extensions]
   > histedit=
   > rebase=
--- a/tests/test-rebase-brute-force.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-rebase-brute-force.t	Thu Sep 28 18:56:40 2017 +0100
@@ -3,8 +3,8 @@
   > drawdag=$TESTDIR/drawdag.py
   > bruterebase=$TESTDIR/bruterebase.py
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > EOF
   $ init() {
   >   N=`expr ${N:-0} + 1`
--- a/tests/test-rebase-obsolete.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-rebase-obsolete.t	Thu Sep 28 18:56:40 2017 +0100
@@ -8,8 +8,8 @@
   > [ui]
   > logtemplate= {rev}:{node|short} {desc|firstline}
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > [phases]
   > publish=False
   > [extensions]
--- a/tests/test-rebase-partial.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-rebase-partial.t	Thu Sep 28 18:56:40 2017 +0100
@@ -7,8 +7,8 @@
   > drawdag=$TESTDIR/drawdag.py
   > 
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > 
   > [alias]
   > tglog = log -G --template "{rev}: {desc}"
--- a/tests/test-uncommit.t	Thu Sep 28 18:19:06 2017 +0100
+++ b/tests/test-uncommit.t	Thu Sep 28 18:56:40 2017 +0100
@@ -2,8 +2,8 @@
 
   $ cat >> $HGRCPATH <<EOF
   > [experimental]
-  > evolution=allowunstable
   > evolution.createmarkers=True
+  > evolution.allowunstable=True
   > [extensions]
   > uncommit =
   > drawdag=$TESTDIR/drawdag.py