tests/test-pull-http.t
changeset 29688 30c59bdd4f41
parent 29687 ac9b85079122
child 29978 3d2ea1403c62
equal deleted inserted replaced
29687:ac9b85079122 29688:30c59bdd4f41
    46 
    46 
    47   $ echo '[web]' > .hg/hgrc
    47   $ echo '[web]' > .hg/hgrc
    48   $ echo 'allowpull = false' >> .hg/hgrc
    48   $ echo 'allowpull = false' >> .hg/hgrc
    49   $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
    49   $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
    50   $ cat hg.pid >> $DAEMON_PIDS
    50   $ cat hg.pid >> $DAEMON_PIDS
    51   $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=True
    51   $ hg clone http://localhost:$HGPORT/ test4 # bundle2+
    52   requesting all changes
    52   requesting all changes
    53   abort: authorization failed
    53   abort: authorization failed
    54   [255]
    54   [255]
    55   $ hg clone http://localhost:$HGPORT/ test4 --config devel.legacy.exchange=bundle1
    55   $ hg clone http://localhost:$HGPORT/ test4 --config devel.legacy.exchange=bundle1
    56   abort: authorization failed
    56   abort: authorization failed