test-simple-update
25 lines
| 250 B
| text/plain
|
TextLexer
/ tests / test-simple-update
mpm@selenic.com
|
r331 | #!/bin/bash | |
set -ex | |||
mkdir test | |||
cd test | |||
echo foo>foo | |||
hg init | |||
hg addremove | |||
hg commit -t "1" | |||
hg verify | |||
cd .. | |||
mkdir branch | |||
cd branch | |||
hg init ../test | |||
hg co | |||
echo bar>>foo | |||
hg commit -t "2" | |||
cd ../test | |||
hg pull ../branch | |||
hg verify | |||
hg co | |||
cat foo | |||
hg manifest |