diff tests/test-evolve-serveronly-bundle2.t @ 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 80446ff6d83a
children 2d55ae0d6ce7
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