test-pull
24 lines
| 241 B
| text/plain
|
TextLexer
/ tests / test-pull
mpm@selenic.com
|
r336 | #!/bin/bash | ||
set -e | ||||
mkdir test | ||||
cd test | ||||
echo foo>foo | ||||
hg init | ||||
hg addremove | ||||
hg commit -t "1" | ||||
hg verify | ||||
mpm@selenic.com
|
r382 | hg serve -p 20059 2>/dev/null & | ||
mpm@selenic.com
|
r336 | C=$! | ||
cd .. | ||||
mkdir copy | ||||
cd copy | ||||
mpm@selenic.com
|
r382 | hg init http://localhost:20059/ | ||
mpm@selenic.com
|
r336 | hg verify | ||
hg co | ||||
cat foo | ||||
hg manifest | ||||
kill $C | ||||