[PATCH 3 of 3] test: use bundle2 in test-pull-http

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun May 31 23:48:39 CDT 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1432937929 25200
#      Fri May 29 15:18:49 2015 -0700
# Node ID 52569d4c494e4e1b57a3fa1873a3a9f133bce8a7
# Parent  baff9cfaeb47fd27655ee41ba32886315d50995b
test: use bundle2 in test-pull-http

This test have a minor output change when using bundle2. We get this change
early to reduce the noise in the final change.

diff --git a/tests/test-pull-http.t b/tests/test-pull-http.t
--- a/tests/test-pull-http.t
+++ b/tests/test-pull-http.t
@@ -1,7 +1,14 @@
 #require killdaemons
 
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > # drop me once bundle2 is the default,
+  > # added to get test change early.
+  > bundle2-exp = True
+  > EOF
+
   $ hg init test
   $ cd test
   $ echo a > a
   $ hg ci -Ama
   adding a
@@ -71,9 +78,10 @@ serve errors
 
 expect error, pulling not allowed
 
   $ req
   pulling from http://localhost:$HGPORT/
+  searching for changes
   abort: authorization failed
   % serve errors
 
   $ cd ..


More information about the Mercurial-devel mailing list