tests: remove all remaining usage of experimental.bundle2-exp
The only remaining usage of the experimental config were enforcing bundle2 on.
These are very old remains of when bundle2 was off by default. This was also
useful to highlight the fact that this was a bundle2 run and that a bundle1 one
was nearby. However, we want a future developer working on bundle3 to notice
possible output/behavior change on these tests and take them in account. So we
do not enforce bundle2 for these runs. We leave a comment around to make sure
dev still notice the bundle1 version.
--- a/tests/test-bookmarks-pushpull.t Wed Aug 03 15:39:55 2016 +0200
+++ b/tests/test-bookmarks-pushpull.t Wed Aug 03 15:52:11 2016 +0200
@@ -822,7 +822,7 @@
Using ssh
---------
- $ hg push -B @ ssh --config experimental.bundle2-exp=True
+ $ hg push -B @ ssh # bundle2+
pushing to ssh://user@dummy/issue4455-dest
searching for changes
no changes found
@@ -845,7 +845,7 @@
Using http
----------
- $ hg push -B @ http --config experimental.bundle2-exp=True
+ $ hg push -B @ http # bundle2+
pushing to http://localhost:$HGPORT/
searching for changes
no changes found
--- a/tests/test-obsolete.t Wed Aug 03 15:39:55 2016 +0200
+++ b/tests/test-obsolete.t Wed Aug 03 15:52:11 2016 +0200
@@ -650,7 +650,7 @@
Test the debug output for exchange
----------------------------------
- $ hg pull ../tmpb --config 'experimental.obsmarkers-exchange-debug=True' --config 'experimental.bundle2-exp=True'
+ $ hg pull ../tmpb --config 'experimental.obsmarkers-exchange-debug=True' # bundle2
pulling from ../tmpb
searching for changes
no changes found
--- a/tests/test-phases-exchange.t Wed Aug 03 15:39:55 2016 +0200
+++ b/tests/test-phases-exchange.t Wed Aug 03 15:52:11 2016 +0200
@@ -1041,7 +1041,7 @@
$ cat ../beta.pid >> $DAEMON_PIDS
$ cd ../gamma
- $ hg pull http://localhost:$HGPORT/ --config experimental.bundle2-exp=True
+ $ hg pull http://localhost:$HGPORT/ # bundle2+
pulling from http://localhost:$HGPORT/
searching for changes
no changes found
--- a/tests/test-pull-http.t Wed Aug 03 15:39:55 2016 +0200
+++ b/tests/test-pull-http.t Wed Aug 03 15:52:11 2016 +0200
@@ -48,7 +48,7 @@
$ echo 'allowpull = false' >> .hg/hgrc
$ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
$ cat hg.pid >> $DAEMON_PIDS
- $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=True
+ $ hg clone http://localhost:$HGPORT/ test4 # bundle2+
requesting all changes
abort: authorization failed
[255]
--- a/tests/test-push-hook-lock.t Wed Aug 03 15:39:55 2016 +0200
+++ b/tests/test-push-hook-lock.t Wed Aug 03 15:52:11 2016 +0200
@@ -38,7 +38,7 @@
$ hg --cwd 1 --config extensions.strip= strip tip -q
$ hg --cwd 2 --config extensions.strip= strip tip -q
- $ hg --cwd 3 push ../2 --config experimental.bundle2-exp=True
+ $ hg --cwd 3 push ../2 # bundle2+
pushing to ../2
searching for changes
adding changesets
--- a/tests/test-subrepo.t Wed Aug 03 15:39:55 2016 +0200
+++ b/tests/test-subrepo.t Wed Aug 03 15:52:11 2016 +0200
@@ -1539,7 +1539,7 @@
[1]
# clean the push cache
$ rm s/.hg/cache/storehash/*
- $ hg push --config experimental.bundle2-exp=True
+ $ hg push # bundle2+
pushing to $TESTTMP/issue3781-dest (glob)
pushing subrepo s to $TESTTMP/issue3781-dest/s
searching for changes