Mercurial > evolve
comparison 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 |
comparison
equal
deleted
inserted
replaced
2072:c0a685c67c5c | 2073:1885c7d78bf6 |
---|---|
145 $ curl -s http://localhost:$HGPORT/?cmd=hello | 145 $ curl -s http://localhost:$HGPORT/?cmd=hello |
146 capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (glob) | 146 capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (glob) |
147 $ curl -s http://localhost:$HGPORT/?cmd=capabilities | 147 $ curl -s http://localhost:$HGPORT/?cmd=capabilities |
148 _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (no-eol) (glob) | 148 _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (no-eol) (glob) |
149 | 149 |
150 $ echo '[__temporary__]' >> server/.hg/hgrc | 150 $ echo '[experimental]' >> server/.hg/hgrc |
151 $ echo 'advertiseobsolete=False' >> server/.hg/hgrc | 151 $ echo 'evolution=!' >> server/.hg/hgrc |
152 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS | 152 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
153 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | 153 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
154 $ cat hg.pid >> $DAEMON_PIDS | 154 $ cat hg.pid >> $DAEMON_PIDS |
155 | 155 |
156 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort | 156 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |
157 bookmarks | 157 bookmarks |
158 namespaces | 158 namespaces |
159 phases | 159 phases |
160 | 160 |
161 $ echo 'advertiseobsolete=True' >> server/.hg/hgrc | 161 $ echo 'evolution=all' >> server/.hg/hgrc |
162 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS | 162 $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
163 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | 163 $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
164 $ cat hg.pid >> $DAEMON_PIDS | 164 $ cat hg.pid >> $DAEMON_PIDS |
165 | 165 |
166 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort | 166 $ curl -s "http://localhost:$HGPORT/?cmd=listkeys&namespace=namespaces" | sort |