Patchwork [6,of,9] tests: use 'legacy.exchange' option in various bundle1 tests

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 3, 2016, 2:54 p.m.
Message ID <2aa42c8c4f4732dafde3.1470236091@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/16064/
State Accepted
Headers show

Comments

Pierre-Yves David - Aug. 3, 2016, 2:54 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1470231243 -7200
#      Wed Aug 03 15:34:03 2016 +0200
# Node ID 2aa42c8c4f4732dafde3f1e0ad30920c94f75ad4
# Parent  809167e8b2c317b61a6fcaee8c17b476b8a83106
# EXP-Topic bundle2.devel
tests: use 'legacy.exchange' option in various bundle1 tests

The new option will stay around. The experimental option was only meant to be
temporary.

Patch

diff -r 809167e8b2c3 -r 2aa42c8c4f47 tests/test-http-bundle1.t
--- a/tests/test-http-bundle1.t	Tue Aug 02 15:23:03 2016 +0200
+++ b/tests/test-http-bundle1.t	Wed Aug 03 15:34:03 2016 +0200
@@ -4,9 +4,9 @@  This test is a duplicate of 'test-http.t
 parts that are not bundle1/bundle2 specific.
 
   $ cat << EOF >> $HGRCPATH
-  > [experimental]
+  > [devel]
   > # This test is dedicated to interaction through old bundle
-  > bundle2-exp = False
+  > legacy.exchange = bundle1
   > EOF
 
   $ hg init test
diff -r 809167e8b2c3 -r 2aa42c8c4f47 tests/test-push-http-bundle1.t
--- a/tests/test-push-http-bundle1.t	Tue Aug 02 15:23:03 2016 +0200
+++ b/tests/test-push-http-bundle1.t	Wed Aug 03 15:34:03 2016 +0200
@@ -5,9 +5,9 @@  to change with bundle2. Feel free to fac
 which does not need to exist to keep bundle1 working.
 
   $ cat << EOF >> $HGRCPATH
-  > [experimental]
+  > [devel]
   > # This test is dedicated to interaction through old bundle
-  > bundle2-exp = False
+  > legacy.exchange = bundle1
   > EOF
 
   $ hg init test
diff -r 809167e8b2c3 -r 2aa42c8c4f47 tests/test-ssh-bundle1.t
--- a/tests/test-ssh-bundle1.t	Tue Aug 02 15:23:03 2016 +0200
+++ b/tests/test-ssh-bundle1.t	Wed Aug 03 15:34:03 2016 +0200
@@ -2,9 +2,9 @@  This test is a duplicate of 'test-http.t
 parts that are not bundle1/bundle2 specific.
 
   $ cat << EOF >> $HGRCPATH
-  > [experimental]
+  > [devel]
   > # This test is dedicated to interaction through old bundle
-  > bundle2-exp = False
+  > legacy.exchange = bundle1
   > [format] # temporary settings
   > usegeneraldelta=yes
   > EOF
diff -r 809167e8b2c3 -r 2aa42c8c4f47 tests/test-unbundlehash.t
--- a/tests/test-unbundlehash.t	Tue Aug 02 15:23:03 2016 +0200
+++ b/tests/test-unbundlehash.t	Wed Aug 03 15:34:03 2016 +0200
@@ -3,11 +3,11 @@ 
 Test wire protocol unbundle with hashed heads (capability: unbundlehash)
 
   $ cat << EOF >> $HGRCPATH
-  > [experimental]
+  > [devel]
   > # This tests is intended for bundle1 only.
   > # bundle2 carries the head information inside the bundle itself and
   > # always uses 'force' as the heads value.
-  > bundle2-exp = False
+  > legacy.exchange = bundle1
   > EOF
 
 Create a remote repository.