test-pull
22 lines
| 267 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 | ||
Matt Mackall
|
r642 | hg serve -p 20059 > /dev/null & | ||
Thomas Arendsen Hein
|
r790 | sleep 1 # wait for server to be started | ||
mpm@selenic.com
|
r336 | cd .. | ||
mpm@selenic.com
|
r485 | 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
|
r492 | kill $! | ||