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
This commit is contained in:
Boris Feld 2017-09-28 18:56:40 +01:00
parent a95ef2baa9
commit 50cd57c3da
8 changed files with 8 additions and 8 deletions

View File

@ -180,8 +180,8 @@ With allowunstable, amend could work in the middle of a stack
$ cat >> $HGRCPATH <<EOF
> [experimental]
> evolution=allowunstable
> evolution.createmarkers=True
> evolution.allowunstable=True
> EOF
$ hg amend

View File

@ -519,8 +519,8 @@ Enable obsolete
$ cat >> $HGRCPATH << EOF
> [experimental]
> evolution=allowunstable
> evolution.createmarkers=True
> evolution.allowunstable=True
> EOF
Amend with no files changes

View File

@ -496,8 +496,8 @@ amend should not be blocked by the ongoing histedit.
$ cat >>$HGRCPATH <<EOF
> [experimental]
> evolution=allowunstable
> evolution.createmarkers=True
> evolution.allowunstable=True
> EOF
$ hg commit --amend -m 'allow this fold'
$ hg histedit --continue

View File

@ -8,8 +8,8 @@ Enable obsolete
> [phases]
> publish=False
> [experimental]
> evolution=allowunstable
> evolution.createmarkers=True
> evolution.allowunstable=True
> [extensions]
> histedit=
> rebase=

View File

@ -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`

View File

@ -8,8 +8,8 @@ Enable obsolete
> [ui]
> logtemplate= {rev}:{node|short} {desc|firstline}
> [experimental]
> evolution=allowunstable
> evolution.createmarkers=True
> evolution.allowunstable=True
> [phases]
> publish=False
> [extensions]

View File

@ -7,8 +7,8 @@ destination (issue5422)
> drawdag=$TESTDIR/drawdag.py
>
> [experimental]
> evolution=allowunstable
> evolution.createmarkers=True
> evolution.allowunstable=True
>
> [alias]
> tglog = log -G --template "{rev}: {desc}"

View File

@ -2,8 +2,8 @@ Test uncommit - set up the config
$ cat >> $HGRCPATH <<EOF
> [experimental]
> evolution=allowunstable
> evolution.createmarkers=True
> evolution.allowunstable=True
> [extensions]
> uncommit =
> drawdag=$TESTDIR/drawdag.py