test-addremove
27 lines
| 375 B
| text/plain
|
TextLexer
/ tests / test-addremove
Thomas Arendsen Hein
|
r1623 | #!/bin/sh | ||
hg init rep | ||||
cd rep | ||||
mkdir dir | ||||
touch foo dir/bar | ||||
hg -v addremove | ||||
Thomas Arendsen Hein
|
r1933 | hg -v commit -m "add 1" -d "1000000 0" | ||
Thomas Arendsen Hein
|
r1623 | cd dir/ | ||
touch ../foo_2 bar_2 | ||||
hg -v addremove | ||||
Thomas Arendsen Hein
|
r1933 | hg -v commit -m "add 2" -d "1000000 0" | ||
Vadim Gelfer
|
r2958 | |||
cd .. | ||||
hg init sim | ||||
cd sim | ||||
echo a > a | ||||
echo a >> a | ||||
echo a >> a | ||||
echo c > c | ||||
hg commit -Ama | ||||
mv a b | ||||
rm c | ||||
echo d > d | ||||
Matt Mackall
|
r8990 | hg addremove -n -s 50 # issue 1696 | ||
Thomas Arendsen Hein
|
r4473 | hg addremove -s 50 | ||
Vadim Gelfer
|
r2958 | hg commit -mb | ||