test-remove
45 lines
| 511 B
| text/plain
|
TextLexer
/ tests / test-remove
mpm@selenic.com
|
r936 | #!/bin/sh | ||
hg init a | ||||
cd a | ||||
echo a > foo | ||||
Vadim Gelfer
|
r2309 | hg rm foo | ||
mpm@selenic.com
|
r936 | hg add foo | ||
Thomas Arendsen Hein
|
r1933 | hg commit -m 1 -d "1000000 0" | ||
Vadim Gelfer
|
r2180 | hg remove | ||
mpm@selenic.com
|
r936 | rm foo | ||
hg remove foo | ||||
Vadim Gelfer
|
r2982 | hg revert --all | ||
Vadim Gelfer
|
r2180 | rm foo | ||
hg remove --after | ||||
Thomas Arendsen Hein
|
r1933 | hg commit -m 2 -d "1000000 0" | ||
Stephen Darnell
|
r3199 | hg export --nodates 0 | ||
hg export --nodates 1 | ||||
TK Soh
|
r1953 | hg log -p -r 0 | ||
hg log -p -r 1 | ||||
mpm@selenic.com
|
r936 | |||
Vadim Gelfer
|
r2309 | echo a > a | ||
hg add a | ||||
hg rm a | ||||
hg rm -f a | ||||
echo b > b | ||||
Brendan Cully
|
r4394 | mkdir c | ||
echo d > c/d | ||||
Vadim Gelfer
|
r2309 | hg ci -A -m 3 -d "1000001 0" | ||
echo c >> b | ||||
hg rm b | ||||
hg rm -f b | ||||
Brendan Cully
|
r4394 | hg rm -A c/d | ||
Brendan Cully
|
r4393 | hg st | ||
Brendan Cully
|
r4394 | cat c/d | ||
Brendan Cully
|
r4393 | hg revert c | ||
hg rm -A | ||||
hg st | ||||
Brendan Cully
|
r4394 | hg rm -A c | ||
hg st | ||||
rm c/d | ||||
Brendan Cully
|
r4393 | hg rm -A | ||
hg st | ||||
Vadim Gelfer
|
r2309 | |||
mpm@selenic.com
|
r936 | cd .. | ||
hg clone a b | ||||