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