config: use 'experimental.evolution.exchange'

Extract 'experimental.evolution' = exchange as
'experimental.evolution.exchange'.

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.exchange'.

Differential Revision: https://phab.mercurial-scm.org/D1151
This commit is contained in:
Boris Feld 2017-09-28 21:07:58 +01:00
parent 50cd57c3da
commit 9c4599c477
5 changed files with 5 additions and 5 deletions

View File

@ -6,8 +6,8 @@
> [phases]
> publish=False
> [experimental]
> evolution=exchange
> evolution.createmarkers=True
> evolution.exchange=True
> EOF
$ TESTHOOK='hooks.txnclose-bookmark.test=echo "test-hook-bookmark: $HG_BOOKMARK: $HG_OLDNODE -> $HG_NODE"'

View File

@ -15,8 +15,8 @@ enable obsolescence
$ cat >> $HGRCPATH << EOF
> [experimental]
> evolution=exchange
> evolution.createmarkers=True
> evolution.exchange=True
> bundle2-output-capture=True
> [ui]
> ssh="$PYTHON" "$TESTDIR/dummyssh"

View File

@ -7,8 +7,8 @@ Create a repo, set the username to something more than 255 bytes, then run hg am
> [extensions]
> amend =
> [experimental]
> stabilization=exchange
> evolution.createmarkers=True
> evolution.exchange=True
> EOF
$ hg init tmpa
$ cd tmpa

View File

@ -907,7 +907,7 @@ Checking _enable=False warning if obsolete marker exists
reenable for later test
$ echo '[experimental]' >> $HGRCPATH
$ echo "evolution=exchange" >> $HGRCPATH
$ echo "evolution.exchange=True" >> $HGRCPATH
$ echo "evolution.createmarkers=True" >> $HGRCPATH
$ rm hg.pid access.log errors.log

View File

@ -415,7 +415,7 @@ issue5539: pruned tags do not appear in .hgtags
$ cat >> $HGRCPATH << EOF
> [experimental]
> evolution=exchange
> evolution.exchange = True
> evolution.createmarkers=True
> EOF
$ hg up e4d483960b9b --quiet