tests: use 'legacy.exchange' option in various bundle1 tests
The new option will stay around. The experimental option was only meant to be
temporary.
--- 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 @@
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
--- 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 @@
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
--- 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 @@
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
--- 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.