Mercurial > evolve
changeset 2073:1885c7d78bf6
server only: test a more standard method of disabling exchange
We have an "official" config option from core so lets just use it.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 09 Mar 2017 17:33:57 -0800 |
parents | c0a685c67c5c |
children | 081d54b3e7f0 |
files | tests/test-evolve-serveronly-bundle2.t tests/test-evolve-serveronly.t |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-evolve-serveronly-bundle2.t Thu Mar 09 12:47:31 2017 -0800 +++ b/tests/test-evolve-serveronly-bundle2.t Thu Mar 09 17:33:57 2017 -0800 @@ -147,8 +147,8 @@ $ curl -s http://localhost:$HGPORT/?cmd=capabilities _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (no-eol) (glob) - $ echo '[__temporary__]' >> server/.hg/hgrc - $ echo 'advertiseobsolete=False' >> server/.hg/hgrc + $ echo '[experimental]' >> server/.hg/hgrc + $ echo 'evolution=!' >> server/.hg/hgrc $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS @@ -158,7 +158,7 @@ namespaces phases - $ echo 'advertiseobsolete=True' >> server/.hg/hgrc + $ echo 'evolution=all' >> server/.hg/hgrc $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS
--- a/tests/test-evolve-serveronly.t Thu Mar 09 12:47:31 2017 -0800 +++ b/tests/test-evolve-serveronly.t Thu Mar 09 17:33:57 2017 -0800 @@ -163,8 +163,8 @@ $ curl -s http://localhost:$HGPORT/?cmd=capabilities _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (no-eol) (glob) - $ echo '[__temporary__]' >> server/.hg/hgrc - $ echo 'advertiseobsolete=False' >> server/.hg/hgrc + $ echo '[experimental]' >> server/.hg/hgrc + $ echo 'evolution=!' >> server/.hg/hgrc $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS @@ -178,7 +178,7 @@ $ curl -s http://localhost:$HGPORT/?cmd=capabilities | grep _evoext_pushobsmarkers_0 [1] - $ echo 'advertiseobsolete=True' >> server/.hg/hgrc + $ echo 'evolution=' >> server/.hg/hgrc $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS