equal
deleted
inserted
replaced
1027 $ cd .. |
1027 $ cd .. |
1028 $ cat > bundle2onlyserver/.hg/hgrc << EOF |
1028 $ cat > bundle2onlyserver/.hg/hgrc << EOF |
1029 > [server] |
1029 > [server] |
1030 > bundle1 = false |
1030 > bundle1 = false |
1031 > EOF |
1031 > EOF |
1032 $ hg -R bundle2onlyserver serve -p $HGPORT -d --pid-file=hg.pid |
1032 $ hg serve -R bundle2onlyserver -p $HGPORT -d --pid-file=hg.pid |
1033 $ cat hg.pid >> $DAEMON_PIDS |
1033 $ cat hg.pid >> $DAEMON_PIDS |
1034 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT not-bundle2 |
1034 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT not-bundle2 |
1035 requesting all changes |
1035 requesting all changes |
1036 abort: remote error: |
1036 abort: remote error: |
1037 incompatible Mercurial client; bundle2 required |
1037 incompatible Mercurial client; bundle2 required |
1051 |
1051 |
1052 $ cat > bundle2onlyserver/.hg/hgrc << EOF |
1052 $ cat > bundle2onlyserver/.hg/hgrc << EOF |
1053 > [server] |
1053 > [server] |
1054 > bundle1gd = false |
1054 > bundle1gd = false |
1055 > EOF |
1055 > EOF |
1056 $ hg -R bundle2onlyserver serve -p $HGPORT -d --pid-file=hg.pid |
1056 $ hg serve -R bundle2onlyserver -p $HGPORT -d --pid-file=hg.pid |
1057 $ cat hg.pid >> $DAEMON_PIDS |
1057 $ cat hg.pid >> $DAEMON_PIDS |
1058 |
1058 |
1059 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2 |
1059 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2 |
1060 requesting all changes |
1060 requesting all changes |
1061 abort: remote error: |
1061 abort: remote error: |