Mercurial > hg
comparison tests/test-push-http @ 8167:6c82beaaa11a
tests: removed redundant "-d '0 0'" from test scripts
The tests are executed with a .hgrc file which adds "-d '0 0'" by
default.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 26 Apr 2009 14:29:02 +0200 |
parents | f53b9a383476 |
children | ace3cf2bc991 |
comparison
equal
deleted
inserted
replaced
8166:56719b1aa6f4 | 8167:6c82beaaa11a |
---|---|
3 cp "$TESTDIR"/printenv.py . | 3 cp "$TESTDIR"/printenv.py . |
4 | 4 |
5 hg init test | 5 hg init test |
6 cd test | 6 cd test |
7 echo a > a | 7 echo a > a |
8 hg ci -Ama -d '0 0' | 8 hg ci -Ama |
9 | 9 |
10 cd .. | 10 cd .. |
11 hg clone test test2 | 11 hg clone test test2 |
12 cd test2 | 12 cd test2 |
13 echo a >> a | 13 echo a >> a |
14 hg ci -mb -d '0 0' | 14 hg ci -mb |
15 | 15 |
16 req() { | 16 req() { |
17 hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log | 17 hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log |
18 cat hg.pid >> $DAEMON_PIDS | 18 cat hg.pid >> $DAEMON_PIDS |
19 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,' | 19 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,' |