changeset 34867:7f183c643eb6

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
author Boris Feld <boris.feld@octobus.net>
date Thu, 28 Sep 2017 18:56:40 +0100
parents 1644623ab096
children 44797aedfb35
files 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
diffstat 8 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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