[PATCH 07 of 10 main-line-of-work (some two digits more patches to go)] test: explicitly test wire protocol discovery with bundle1 and bundle2
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Fri May 29 11:53:08 CDT 2015
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1432733734 25200
# Wed May 27 06:35:34 2015 -0700
# Node ID 82817d935addb59d7afa42c444e53d6edcc69db4
# Parent c1ae210c4f9f30bfd0f1f7fa6f18271f9fd10f71
test: explicitly test wire protocol discovery with bundle1 and bundle2
We want to make sure the behavior is similar in both cases.
diff --git a/tests/test-phases-exchange.t b/tests/test-phases-exchange.t
--- a/tests/test-phases-exchange.t
+++ b/tests/test-phases-exchange.t
@@ -1046,11 +1046,20 @@ same over the wire
$ cd ../beta
$ hg serve -p $HGPORT -d --pid-file=../beta.pid -E ../beta-error.log
$ 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
$ hg phase f54f1bb90ff3
2: draft
More information about the Mercurial-devel
mailing list