tests: add more testing of pulling with various setting
We checks for client/server with various combination:
* extensions enabled,
* extensions enabled but exchange disabled,
* extensions disabled,
--- a/tests/test-wireproto.t Tue Nov 07 12:57:43 2017 +0100
+++ b/tests/test-wireproto.t Tue Nov 07 14:21:19 2017 +0100
@@ -208,8 +208,45 @@
abort: unexpected response: empty string
[255]
+(do some extra pulling to be sure)
+
+ $ hg -R client pull http://localhost:$HGPORT/
+ pulling from http://localhost:$HGPORT/
+ searching for changes
+ no changes found
+ obsmarker-exchange: 258 bytes received
+
+ $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers
+ pulling from http://localhost:$HGPORT/
+ searching for changes
+ no changes found
+
+ $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers --config extensions.evolve='!'
+ pulling from http://localhost:$HGPORT/
+ searching for changes
+ no changes found
+
But we do let it goes fine on repository with exchange disabled:
$ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
$ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log --config experimental.evolution='!'
$ hg debugpushkey http://localhost:$HGPORT/ obsolete
+
+(do some extra pulling to be sure)
+
+ $ hg -R client pull http://localhost:$HGPORT/
+ pulling from http://localhost:$HGPORT/
+ searching for changes
+ no changes found
+
+ $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers
+ pulling from http://localhost:$HGPORT/
+ searching for changes
+ no changes found
+
+ $ hg -R client pull http://localhost:$HGPORT/ --config experimental.evolution=createmarkers --config extensions.evolve='!'
+ pulling from http://localhost:$HGPORT/
+ searching for changes
+ no changes found
+
+ $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS