equal
deleted
inserted
replaced
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() { |