##// END OF EJS Templates
tests: use 'legacy.exchange' option in 'test-bundle2-exchange.t'...
Pierre-Yves David -
r29685:06e642d7 default
parent child Browse files
Show More
@@ -969,7 +969,7 b' Servers can disable bundle1 for clone/pu'
969 $ hg serve -p $HGPORT -d --pid-file=hg.pid
969 $ hg serve -p $HGPORT -d --pid-file=hg.pid
970 $ cat hg.pid >> $DAEMON_PIDS
970 $ cat hg.pid >> $DAEMON_PIDS
971
971
972 $ hg --config experimental.bundle2-exp=false clone http://localhost:$HGPORT/ not-bundle2
972 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2
973 requesting all changes
973 requesting all changes
974 abort: remote error:
974 abort: remote error:
975 incompatible Mercurial client; bundle2 required
975 incompatible Mercurial client; bundle2 required
@@ -992,7 +992,7 b' bundle1 can still pull non-generaldelta '
992 $ hg serve -p $HGPORT -d --pid-file=hg.pid
992 $ hg serve -p $HGPORT -d --pid-file=hg.pid
993 $ cat hg.pid >> $DAEMON_PIDS
993 $ cat hg.pid >> $DAEMON_PIDS
994
994
995 $ hg --config experimental.bundle2-exp=false clone http://localhost:$HGPORT/ not-bundle2-1
995 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2-1
996 requesting all changes
996 requesting all changes
997 adding changesets
997 adding changesets
998 adding manifests
998 adding manifests
@@ -1013,7 +1013,7 b' bundle1 pull can be disabled for general'
1013
1013
1014 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1014 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1015 $ cat hg.pid >> $DAEMON_PIDS
1015 $ cat hg.pid >> $DAEMON_PIDS
1016 $ hg --config experimental.bundle2-exp=false clone http://localhost:$HGPORT/ not-bundle2
1016 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2
1017 requesting all changes
1017 requesting all changes
1018 abort: remote error:
1018 abort: remote error:
1019 incompatible Mercurial client; bundle2 required
1019 incompatible Mercurial client; bundle2 required
@@ -1030,7 +1030,7 b' Verify the global server.bundle1 option '
1030 > EOF
1030 > EOF
1031 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1031 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1032 $ cat hg.pid >> $DAEMON_PIDS
1032 $ cat hg.pid >> $DAEMON_PIDS
1033 $ hg --config experimental.bundle2-exp=false clone http://localhost:$HGPORT not-bundle2
1033 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT not-bundle2
1034 requesting all changes
1034 requesting all changes
1035 abort: remote error:
1035 abort: remote error:
1036 incompatible Mercurial client; bundle2 required
1036 incompatible Mercurial client; bundle2 required
@@ -1045,7 +1045,7 b' Verify the global server.bundle1 option '
1045 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1045 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1046 $ cat hg.pid >> $DAEMON_PIDS
1046 $ cat hg.pid >> $DAEMON_PIDS
1047
1047
1048 $ hg --config experimental.bundle2-exp=false clone http://localhost:$HGPORT/ not-bundle2
1048 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2
1049 requesting all changes
1049 requesting all changes
1050 abort: remote error:
1050 abort: remote error:
1051 incompatible Mercurial client; bundle2 required
1051 incompatible Mercurial client; bundle2 required
@@ -1062,7 +1062,7 b' Verify the global server.bundle1 option '
1062 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1062 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1063 $ cat hg.pid >> $DAEMON_PIDS
1063 $ cat hg.pid >> $DAEMON_PIDS
1064
1064
1065 $ hg --config experimental.bundle2-exp=false clone http://localhost:$HGPORT/ not-bundle2-2
1065 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2-2
1066 requesting all changes
1066 requesting all changes
1067 adding changesets
1067 adding changesets
1068 adding manifests
1068 adding manifests
@@ -1099,7 +1099,7 b' Verify bundle1 pushes can be disabled'
1099 $ cd bundle2-only
1099 $ cd bundle2-only
1100 $ echo commit > foo
1100 $ echo commit > foo
1101 $ hg commit -m commit
1101 $ hg commit -m commit
1102 $ hg --config experimental.bundle2-exp=false push
1102 $ hg --config devel.legacy.exchange=bundle1 push
1103 pushing to http://localhost:$HGPORT/
1103 pushing to http://localhost:$HGPORT/
1104 searching for changes
1104 searching for changes
1105 abort: remote error:
1105 abort: remote error:
General Comments 0
You need to be logged in to leave comments. Login now