test-push-warn
28 lines
| 329 B
| text/plain
|
TextLexer
/ tests / test-push-warn
|
r816 | #!/bin/sh | ||
mkdir a | ||||
cd a | ||||
hg init | ||||
echo foo > t1 | ||||
hg add t1 | ||||
|
r1933 | hg commit -m "1" -d "1000000 0" | ||
|
r816 | |||
cd .. | ||||
hg clone a b | ||||
cd a | ||||
echo foo > t2 | ||||
hg add t2 | ||||
|
r1933 | hg commit -m "2" -d "1000000 0" | ||
|
r816 | |||
cd ../b | ||||
echo foo > t3 | ||||
hg add t3 | ||||
|
r1933 | hg commit -m "3" -d "1000000 0" | ||
|
r816 | |||
hg push ../a | ||||
hg pull ../a | ||||
hg push ../a | ||||
hg up -m | ||||
|
r1933 | hg commit -m "4" -d "1000000 0" | ||
|
r816 | hg push ../a | ||