Mercurial > hg-stable
changeset 33794:6c1a9fd8361b
test: update evolution config
evolution* config has been rewritten in stabilization* in the previous patch,
update tests file to use the new names.
Differential Revision: https://phab.mercurial-scm.org/D249
line wrap: on
line diff
--- a/tests/test-amend.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-amend.t Fri Aug 04 18:41:16 2017 +0200 @@ -11,7 +11,7 @@ #if obsstore-on $ cat << EOF >> $HGRCPATH > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF #endif @@ -176,7 +176,7 @@ $ cat >> $HGRCPATH <<EOF > [experimental] - > evolution=createmarkers, allowunstable + > stabilization=createmarkers, allowunstable > EOF $ hg amend
--- a/tests/test-bisect.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-bisect.t Fri Aug 04 18:41:16 2017 +0200 @@ -574,7 +574,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF tip is obsolete
--- a/tests/test-bookmarks-pushpull.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-bookmarks-pushpull.t Fri Aug 04 18:41:16 2017 +0200 @@ -6,7 +6,7 @@ > [phases] > publish=False > [experimental] - > evolution=createmarkers,exchange + > stabilization=createmarkers,exchange > EOF initialize
--- a/tests/test-bundle2-exchange.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-bundle2-exchange.t Fri Aug 04 18:41:16 2017 +0200 @@ -15,7 +15,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers,exchange + > stabilization=createmarkers,exchange > bundle2-output-capture=True > [ui] > ssh="$PYTHON" "$TESTDIR/dummyssh"
--- a/tests/test-bundle2-format.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-bundle2-format.t Fri Aug 04 18:41:16 2017 +0200 @@ -227,7 +227,7 @@ > [extensions] > bundle2=$TESTTMP/bundle2.py > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > [ui] > ssh=$PYTHON "$TESTDIR/dummyssh" > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
--- a/tests/test-cache-abuse.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-cache-abuse.t Fri Aug 04 18:41:16 2017 +0200 @@ -2,7 +2,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > [phases] > publish=False > EOF
--- a/tests/test-clone.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-clone.t Fri Aug 04 18:41:16 2017 +0200 @@ -706,7 +706,7 @@ $ cd filteredrev0 $ cat >> .hg/hgrc << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF $ echo initial1 > foo $ hg -q commit -A -m initial0
--- a/tests/test-command-template.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-command-template.t Fri Aug 04 18:41:16 2017 +0200 @@ -3567,7 +3567,7 @@ $ cd hashcollision $ cat <<EOF >> .hg/hgrc > [experimental] - > evolution = createmarkers + > stabilization = createmarkers > EOF $ echo 0 > a $ hg ci -qAm 0
--- a/tests/test-commandserver.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-commandserver.t Fri Aug 04 18:41:16 2017 +0200 @@ -497,7 +497,7 @@ $ cat >> .hg/hgrc << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF >>> import os
--- a/tests/test-commit-amend.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-commit-amend.t Fri Aug 04 18:41:16 2017 +0200 @@ -520,7 +520,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers,allowunstable + > stabilization=createmarkers,allowunstable > EOF Amend with no files changes
--- a/tests/test-drawdag.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-drawdag.t Fri Aug 04 18:41:16 2017 +0200 @@ -2,7 +2,7 @@ > [extensions] > drawdag=$TESTDIR/drawdag.py > [experimental] - > evolution=all + > stabilization=all > EOF $ reinit () {
--- a/tests/test-glog.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-glog.t Fri Aug 04 18:41:16 2017 +0200 @@ -2290,7 +2290,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF $ hg debugobsolete `hg id --debug -i -r 8`
--- a/tests/test-histedit-arguments.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-histedit-arguments.t Fri Aug 04 18:41:16 2017 +0200 @@ -494,7 +494,7 @@ $ cat >>$HGRCPATH <<EOF > [experimental] - > evolution=createmarkers,allowunstable + > stabilization=createmarkers,allowunstable > EOF $ hg commit --amend -m 'allow this fold' $ hg histedit --continue
--- a/tests/test-histedit-obsolete.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-histedit-obsolete.t Fri Aug 04 18:41:16 2017 +0200 @@ -8,7 +8,7 @@ > [phases] > publish=False > [experimental] - > evolution=createmarkers,allowunstable + > stabilization=createmarkers,allowunstable > [extensions] > histedit= > rebase= @@ -545,7 +545,7 @@ | o 0:cb9a9f314b8b (public) a - $ hg histedit -r 'b449568bf7fc' --commands - << EOF --config experimental.evolution.track-operation=1 + $ hg histedit -r 'b449568bf7fc' --commands - << EOF --config experimental.stabilization.track-operation=1 > pick b449568bf7fc 13 f > pick 7395e1ff83bd 15 h > pick 6b70183d2492 14 g @@ -556,7 +556,7 @@ Editing (ee118ab9fa44), you may commit or record as needed now. (hg histedit --continue to resume) [1] - $ hg histedit --continue --config experimental.evolution.track-operation=1 + $ hg histedit --continue --config experimental.stabilization.track-operation=1 $ hg log -G @ 23:175d6b286a22 (secret) k |
--- a/tests/test-lfconvert.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-lfconvert.t Fri Aug 04 18:41:16 2017 +0200 @@ -326,7 +326,7 @@ $ cd largefiles-repo-hg $ cat >> .hg/hgrc <<EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF $ hg debugobsolete `hg log -r tip -T "{node}"` obsoleted 1 changesets
--- a/tests/test-log.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-log.t Fri Aug 04 18:41:16 2017 +0200 @@ -1700,7 +1700,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF $ hg log --template='{rev}:{node}\n' @@ -2280,7 +2280,7 @@ $ hg init issue4490 $ cd issue4490 $ echo '[experimental]' >> .hg/hgrc - $ echo 'evolution=createmarkers' >> .hg/hgrc + $ echo 'stabilization=createmarkers' >> .hg/hgrc $ echo a > a $ hg ci -Am0 adding a
--- a/tests/test-obsmarker-template.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-obsmarker-template.t Fri Aug 04 18:41:16 2017 +0200 @@ -10,7 +10,7 @@ > [phases] > publish=False > [experimental] - > evolution=all + > stabilization=all > [alias] > tlog = log -G -T '{node|short}\ > {if(predecessors, "\n Predecessors: {predecessors}")}\
--- a/tests/test-obsolete-bundle-strip.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-obsolete-bundle-strip.t Fri Aug 04 18:41:16 2017 +0200 @@ -15,10 +15,10 @@ > > [experimental] > # enable evolution - > evolution = all + > stabilization = all > > # include obsmarkers in bundle - > evolution.bundle-obsmarker = yes + > stabilization.bundle-obsmarker = yes > > [extensions] > # needed for some tests
--- a/tests/test-obsolete-changeset-exchange.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-obsolete-changeset-exchange.t Fri Aug 04 18:41:16 2017 +0200 @@ -3,7 +3,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF Push does not corrupt remote @@ -87,7 +87,7 @@ check-that bundle can contain markers: - $ hg bundle --hidden --rev f89bcc95eba5 --base "f89bcc95eba5^" ../f89bcc95eba5-obs.hg --config experimental.evolution.bundle-obsmarker=1 + $ hg bundle --hidden --rev f89bcc95eba5 --base "f89bcc95eba5^" ../f89bcc95eba5-obs.hg --config experimental.stabilization.bundle-obsmarker=1 1 changesets found $ hg debugbundle ../f89bcc95eba5.hg Stream params: sortdict([('Compression', 'BZ')])
--- a/tests/test-obsolete-checkheads.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-obsolete-checkheads.t Fri Aug 04 18:41:16 2017 +0200 @@ -6,7 +6,7 @@ > [ui] > logtemplate='{node|short} ({phase}) {desc|firstline}\n' > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF $ mkcommit() { > echo "$1" > "$1"
--- a/tests/test-obsolete-divergent.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-obsolete-divergent.t Fri Aug 04 18:41:16 2017 +0200 @@ -9,7 +9,7 @@ > [ui] > logtemplate = {rev}:{node|short} {desc}\n > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > [extensions] > drawdag=$TESTDIR/drawdag.py > [alias]
--- a/tests/test-obsolete-tag-cache.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-obsolete-tag-cache.t Fri Aug 04 18:41:16 2017 +0200 @@ -5,7 +5,7 @@ > mock=$TESTDIR/mockblackbox.py > > [experimental] - > evolution = createmarkers + > stabilization = createmarkers > EOF Create a repo with some tags
--- a/tests/test-obsolete.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-obsolete.t Fri Aug 04 18:41:16 2017 +0200 @@ -39,7 +39,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers,exchange + > stabilization=createmarkers,exchange > EOF Killing a single changeset without replacement @@ -892,7 +892,7 @@ Checking _enable=False warning if obsolete marker exists $ echo '[experimental]' >> $HGRCPATH - $ echo "evolution=" >> $HGRCPATH + $ echo "stabilization=" >> $HGRCPATH $ hg log -r tip obsolete feature not enabled but 68 markers found! 68:c15e9edfca13 (draft) [tip ] add celestine @@ -900,7 +900,7 @@ reenable for later test $ echo '[experimental]' >> $HGRCPATH - $ echo "evolution=createmarkers,exchange" >> $HGRCPATH + $ echo "stabilization=createmarkers,exchange" >> $HGRCPATH $ rm hg.pid access.log errors.log #endif @@ -1263,7 +1263,7 @@ $ hg ci -m '2' $ echo bar > f2 - $ hg commit --amend --config experimetnal.evolution=createmarkers + $ hg commit --amend --config experimetnal.stabilization=createmarkers $ hg log -G @ 4:b0551702f918 (draft) [tip ] 2 | @@ -1402,7 +1402,7 @@ $ echo d > d $ hg ci -Am d adding d - $ hg ci --amend -m dd --config experimental.evolution.track-operation=1 + $ hg ci --amend -m dd --config experimental.stabilization.track-operation=1 $ hg debugobsolete --index --rev "3+7" 1 6fdef60fcbabbd3d50e9b9cbc2a240724b91a5e1 d27fb9b066076fd921277a4b9e8b9cb48c95bc6a 0 \(.*\) {'user': 'test'} (re) 3 4715cf767440ed891755448016c2b8cf70760c30 7ae79c5d60f049c7b0dd02f5f25b9d60aaf7b36d 0 \(.*\) {'operation': 'amend', 'user': 'test'} (re)
--- a/tests/test-phases.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-phases.t Fri Aug 04 18:41:16 2017 +0200 @@ -588,7 +588,7 @@ (enabling evolution) $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF (making a changeset hidden; H in that case)
--- a/tests/test-push-race.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-push-race.t Fri Aug 04 18:41:16 2017 +0200 @@ -98,7 +98,7 @@ > [phases] > publish = no > [experimental] - > evolution = all + > stabilization = all > [alias] > graph = log -G --rev 'sort(all(), "topo")' > EOF
--- a/tests/test-rebase-conflicts.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-rebase-conflicts.t Fri Aug 04 18:41:16 2017 +0200 @@ -400,7 +400,7 @@ $ hg update E -q $ echo 3 > B $ hg commit --amend -m E -A B -q - $ hg rebase -r B+D -d . --config experimental.evolution=all + $ hg rebase -r B+D -d . --config experimental.stabilization=all rebasing 1:112478962961 "B" (B) merging B warning: conflicts while merging B! (edit, then use 'hg resolve --mark') @@ -411,7 +411,7 @@ $ hg resolve -m (no more unresolved files) continue: hg rebase --continue - $ hg rebase --continue --config experimental.evolution=none + $ hg rebase --continue --config experimental.stabilization=none rebasing 1:112478962961 "B" (B) not rebasing ignored 2:26805aba1e60 "C" (C) rebasing 3:f585351a92f8 "D" (D)
--- a/tests/test-rebase-obsolete.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-rebase-obsolete.t Fri Aug 04 18:41:16 2017 +0200 @@ -8,7 +8,7 @@ > [ui] > logtemplate= {rev}:{node|short} {desc|firstline} > [experimental] - > evolution=createmarkers,allowunstable + > stabilization=createmarkers,allowunstable > [phases] > publish=False > [extensions] @@ -732,7 +732,7 @@ | o 0:4a2df7238c3b A - $ hg debugobsolete `hg log -r 7 -T '{node}\n'` --config experimental.evolution=all + $ hg debugobsolete `hg log -r 7 -T '{node}\n'` --config experimental.stabilization=all obsoleted 1 changesets $ hg rebase -d 6 -r "4::" rebasing 4:ff2c4d47b71d "C" @@ -760,7 +760,7 @@ $ hg add nonrelevant $ hg commit -m nonrelevant created new head - $ hg debugobsolete `hg log -r 11 -T '{node}\n'` --config experimental.evolution=all + $ hg debugobsolete `hg log -r 11 -T '{node}\n'` --config experimental.stabilization=all obsoleted 1 changesets $ hg rebase -r . -d 10 note: not rebasing 11:f44da1f4954c "nonrelevant" (tip), it has no successor @@ -885,7 +885,7 @@ $ printf "dummy" > L $ hg add L $ hg commit -m "dummy change" - $ hg debugobsolete `hg log -r ".^" -T '{node}'` `hg log -r 19 -T '{node}'` --config experimental.evolution=all + $ hg debugobsolete `hg log -r ".^" -T '{node}'` `hg log -r 19 -T '{node}'` --config experimental.stabilization=all obsoleted 1 changesets $ hg log -G -r 17:: @@ -1121,7 +1121,7 @@ equivalents in destination $ hg init rbsrepo && cd rbsrepo $ echo "[experimental]" > .hg/hgrc - $ echo "evolution=all" >> .hg/hgrc + $ echo "stabilization=all" >> .hg/hgrc $ echo "rebaseskipobsolete=on" >> .hg/hgrc $ echo root > root && hg ci -Am root adding root @@ -1140,7 +1140,7 @@ $ hg up 2 && hg log -r . # working dir is at rev 2 again 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 2:1e9a3c00cbe9 b (no-eol) - $ hg rebase -r 2 -d 3 --config experimental.evolution.track-operation=1 + $ hg rebase -r 2 -d 3 --config experimental.stabilization.track-operation=1 note: not rebasing 2:1e9a3c00cbe9 "b" (mybook), already in destination as 3:be1832deae9a "b" Check that working directory was updated to rev 3 although rev 2 was skipped during the rebase operation
--- a/tests/test-rebase-partial.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-rebase-partial.t Fri Aug 04 18:41:16 2017 +0200 @@ -7,7 +7,7 @@ > drawdag=$TESTDIR/drawdag.py > > [experimental] - > evolution=createmarkers,allowunstable + > stabilization=createmarkers,allowunstable > > [alias] > tglog = log -G --template "{rev}: {desc}"
--- a/tests/test-rebase-scenario-global.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-rebase-scenario-global.t Fri Aug 04 18:41:16 2017 +0200 @@ -933,7 +933,7 @@ > [extensions] > wraprebase=$TESTTMP/wraprebase.py > [experimental] - > evolution=all + > stabilization=all > EOF $ hg debugdrawdag <<'EOS'
--- a/tests/test-revset.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-revset.t Fri Aug 04 18:41:16 2017 +0200 @@ -1830,7 +1830,7 @@ $ cd wdir-hashcollision $ cat <<EOF >> .hg/hgrc > [experimental] - > evolution = createmarkers + > stabilization = createmarkers > EOF $ echo 0 > a $ hg ci -qAm 0 @@ -4465,7 +4465,7 @@ $ cd repo1 $ cat <<EOF >> .hg/hgrc > [experimental] - > evolution = createmarkers + > stabilization = createmarkers > EOF $ hg debugdrawdag <<'EOS'
--- a/tests/test-shelve.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-shelve.t Fri Aug 04 18:41:16 2017 +0200 @@ -696,7 +696,7 @@ $ cat >> $HGRCPATH << EOF > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF $ hg shelve shelved as default
--- a/tests/test-strip.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-strip.t Fri Aug 04 18:41:16 2017 +0200 @@ -1063,8 +1063,8 @@ $ cd $TESTTMP/scmutilcleanup.obsstore $ cat >> .hg/hgrc <<EOF > [experimental] - > evolution=all - > evolution.track-operation=1 + > stabilization=all + > stabilization.track-operation=1 > EOF $ hg log -r . -T '\n' --config extensions.t=$TESTTMP/scmutilcleanup.py
--- a/tests/test-subrepo-missing.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-subrepo-missing.t Fri Aug 04 18:41:16 2017 +0200 @@ -76,7 +76,7 @@ > [phases] > publish=False > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF check that we can update parent repo with missing (amended) subrepo revision
--- a/tests/test-update-branches.t Thu Aug 03 11:38:22 2017 +0200 +++ b/tests/test-update-branches.t Fri Aug 04 18:41:16 2017 +0200 @@ -473,7 +473,7 @@ > [ui] > logtemplate={rev}:{node|short} {desc|firstline} > [experimental] - > evolution=createmarkers + > stabilization=createmarkers > EOF Test no-argument update to a successor of an obsoleted changeset