[PATCH 3 of 3 main] test: drop all the forced use of bundle2

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jun 1 12:34:41 CDT 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1432789897 25200
#      Wed May 27 22:11:37 2015 -0700
# Node ID 7beaeab39b696a83e526c6867d7ba2828a659d00
# Parent  80ae589654ea1c670aecc0bbf2b5de3dc480db78
test: drop all the forced use of bundle2

Using bundle2 during exchange is now the default, we do not need all this
explicit enabling of bundle2 exchange in test anymore.

diff --git a/tests/test-http.t b/tests/test-http.t
--- a/tests/test-http.t
+++ b/tests/test-http.t
@@ -1,14 +1,7 @@
 #require serve
 
-  $ 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 foo>foo
   $ mkdir foo.d foo.d/bAr.hg.d foo.d/baR.d.hg
   $ echo foo>foo.d/foo
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,14 +1,7 @@
 #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
diff --git a/tests/test-push-http.t b/tests/test-push-http.t
--- a/tests/test-push-http.t
+++ b/tests/test-push-http.t
@@ -1,14 +1,7 @@
 #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
diff --git a/tests/test-ssh.t b/tests/test-ssh.t
--- a/tests/test-ssh.t
+++ b/tests/test-ssh.t
@@ -1,12 +1,5 @@
-  $ cat << EOF >> $HGRCPATH
-  > [experimental]
-  > # drop me once bundle2 is the default,
-  > # added to get test change early.
-  > bundle2-exp = True
-  > EOF
-
 
 This test tries to exercise the ssh functionality with a dummy script
 
 creating 'remote' repo
 


More information about the Mercurial-devel mailing list