test-simple-update
24 lines
| 237 B
| text/plain
|
TextLexer
/ tests / test-simple-update
Thomas Arendsen Hein
|
r544 | #!/bin/sh | ||
mpm@selenic.com
|
r331 | |||
Thomas Arendsen Hein
|
r800 | set -e | ||
mpm@selenic.com
|
r331 | |||
mkdir test | ||||
cd test | ||||
echo foo>foo | ||||
hg init | ||||
hg addremove | ||||
mpm@selenic.com
|
r749 | hg commit -m "1" | ||
mpm@selenic.com
|
r331 | hg verify | ||
mpm@selenic.com
|
r485 | hg clone . ../branch | ||
cd ../branch | ||||
mpm@selenic.com
|
r331 | hg co | ||
echo bar>>foo | ||||
mpm@selenic.com
|
r749 | hg commit -m "2" | ||
mpm@selenic.com
|
r331 | |||
cd ../test | ||||
hg pull ../branch | ||||
hg verify | ||||
hg co | ||||
cat foo | ||||
mpm@selenic.com
|
r485 | hg manifest | ||