test-pull
26 lines
| 409 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 | ||
Bryan O'Sullivan
|
r5384 | hg serve -p $HGPORT -d --pid-file=hg.pid | ||
Vadim Gelfer
|
r2571 | cat hg.pid >> $DAEMON_PIDS | ||
mpm@selenic.com
|
r336 | cd .. | ||
Bryan O'Sullivan
|
r5384 | http_proxy= hg clone --pull http://localhost:$HGPORT/ copy | sed -e 's,:[0-9][0-9]*/,/,' | ||
mpm@selenic.com
|
r336 | cd copy | ||
hg verify | ||||
hg co | ||||
cat foo | ||||
Matt Mackall
|
r3736 | hg manifest --debug | ||
Bryan O'Sullivan
|
r5384 | hg pull | sed -e 's,:[0-9][0-9]*/,/,' | ||
Bryan O'Sullivan
|
r4891 | |||
echo % issue 622 | ||||
cd .. | ||||
hg init empty | ||||
cd empty | ||||
hg pull -u ../test | ||||