equal
deleted
inserted
replaced
1 $ "$TESTDIR/hghave" serve || exit 80 |
1 $ "$TESTDIR/hghave" killdaemons || exit 80 |
2 |
2 |
3 $ hg init test |
3 $ hg init test |
4 $ cd test |
4 $ cd test |
5 $ echo a > a |
5 $ echo a > a |
6 $ hg ci -Ama |
6 $ hg ci -Ama |
47 $ cat errors.log |
47 $ cat errors.log |
48 $ req() { |
48 $ req() { |
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 --cwd ../test pull http://localhost:$HGPORT/ |
51 > hg --cwd ../test pull http://localhost:$HGPORT/ |
52 > kill `cat hg.pid` |
52 > "$TESTDIR/killdaemons.py" hg.pid |
53 > echo % serve errors |
53 > echo % serve errors |
54 > cat errors.log |
54 > cat errors.log |
55 > } |
55 > } |
56 |
56 |
57 expect error, pulling not allowed |
57 expect error, pulling not allowed |