tests/test-pull-http.t
changeset 25474 8c14f87bd0ae
parent 25472 4d2b9b304ad0
child 29701 ac9b85079122
equal deleted inserted replaced
25473:123c99034cb6 25474:8c14f87bd0ae
    38   # my-clone     = /home/jdoe/jdoes-clone
    38   # my-clone     = /home/jdoe/jdoes-clone
    39   
    39   
    40   [ui]
    40   [ui]
    41   # name and email (local to this repository, optional), e.g.
    41   # name and email (local to this repository, optional), e.g.
    42   # username = Jane Doe <jdoe@example.com>
    42   # username = Jane Doe <jdoe@example.com>
    43   $ killdaemons.py $DAEMON_PIDS
    43   $ killdaemons.py
    44 
    44 
    45 expect error, cloning not allowed
    45 expect error, cloning not allowed
    46 
    46 
    47   $ echo '[web]' > .hg/hgrc
    47   $ echo '[web]' > .hg/hgrc
    48   $ echo 'allowpull = false' >> .hg/hgrc
    48   $ echo 'allowpull = false' >> .hg/hgrc
    53   abort: authorization failed
    53   abort: authorization failed
    54   [255]
    54   [255]
    55   $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=False
    55   $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=False
    56   abort: authorization failed
    56   abort: authorization failed
    57   [255]
    57   [255]
    58   $ killdaemons.py $DAEMON_PIDS
    58   $ killdaemons.py
    59 
    59 
    60 serve errors
    60 serve errors
    61 
    61 
    62   $ cat errors.log
    62   $ cat errors.log
    63   $ req() {
    63   $ req() {