test: explicitly test wire protocol discovery with bundle1 and bundle2
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 27 May 2015 06:35:34 -0700
changeset 25356 d49328038b38
parent 25355 53071142c7d7
child 25357 efa2621c2859
test: explicitly test wire protocol discovery with bundle1 and bundle2 We want to make sure the behavior is similar in both cases.
tests/test-phases-exchange.t
--- a/tests/test-phases-exchange.t	Wed May 27 06:37:56 2015 -0700
+++ b/tests/test-phases-exchange.t	Wed May 27 06:35:34 2015 -0700
@@ -1048,7 +1048,16 @@
   $ cat ../beta.pid >> $DAEMON_PIDS
   $ cd ../gamma
 
-  $ hg pull http://localhost:$HGPORT/
+  $ hg pull http://localhost:$HGPORT/ --config experimental.bundle2-exp=True
+  pulling from http://localhost:$HGPORT/
+  searching for changes
+  no changes found
+  $ hg phase f54f1bb90ff3
+  2: draft
+
+enforce bundle1
+
+  $ hg pull http://localhost:$HGPORT/ --config experimental.bundle2-exp=False
   pulling from http://localhost:$HGPORT/
   searching for changes
   no changes found