test-pull
21 lines
| 264 B
| text/plain
|
TextLexer
/ tests / test-pull
|
r544 | #!/bin/sh | ||
|
r336 | |||
mkdir test | ||||
cd test | ||||
echo foo>foo | ||||
hg init | ||||
hg addremove | ||||
|
r749 | hg commit -m 1 | ||
|
r336 | hg verify | ||
|
r1786 | hg serve -p 20059 -d --pid-file=hg.pid | ||
|
r336 | cd .. | ||
|
r1927 | http_proxy= hg clone http://localhost:20059/ copy | ||
|
r336 | cd copy | ||
hg verify | ||||
hg co | ||||
cat foo | ||||
hg manifest | ||||
|
r522 | hg pull | ||
|
r336 | |||
|
r1786 | kill `cat ../test/hg.pid` | ||