test-simple-update
24 lines
| 238 B
| text/plain
|
TextLexer
/ tests / test-simple-update
|
r544 | #!/bin/sh | ||
|
r331 | |||
set -ex | ||||
mkdir test | ||||
cd test | ||||
echo foo>foo | ||||
hg init | ||||
hg addremove | ||||
|
r749 | hg commit -m "1" | ||
|
r331 | hg verify | ||
|
r485 | hg clone . ../branch | ||
cd ../branch | ||||
|
r331 | hg co | ||
echo bar>>foo | ||||
|
r749 | hg commit -m "2" | ||
|
r331 | |||
cd ../test | ||||
hg pull ../branch | ||||
hg verify | ||||
hg co | ||||
cat foo | ||||
|
r485 | hg manifest | ||