Mercurial > hg
comparison tests/test-pull-http.t @ 25372:df723a2655e9
test: use both bundle formats in test-pull-http
It is valuable to have both formats tested.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 27 May 2015 11:37:11 -0700 |
parents | 2be7d5ebd4d0 |
children | c66d95aa1270 |
comparison
equal
deleted
inserted
replaced
25371:fbcbdc62f248 | 25372:df723a2655e9 |
---|---|
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 | 51 $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=True |
52 requesting all changes | |
53 abort: authorization failed | |
54 [255] | |
55 $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=False | |
52 abort: authorization failed | 56 abort: authorization failed |
53 [255] | 57 [255] |
54 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS | 58 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS |
55 | 59 |
56 serve errors | 60 serve errors |