sapling/tests/test-remove

33 lines
397 B
Plaintext
Raw Normal View History

2005-08-18 00:26:06 +04:00
#!/bin/sh
hg init a
cd a
echo a > foo
hg rm foo
2005-08-18 00:26:06 +04:00
hg add foo
hg commit -m 1 -d "1000000 0"
hg remove
2005-08-18 00:26:06 +04:00
rm foo
hg remove foo
hg revert --all
rm foo
hg remove --after
hg commit -m 2 -d "1000000 0"
hg export --nodates 0
hg export --nodates 1
hg log -p -r 0
hg log -p -r 1
2005-08-18 00:26:06 +04:00
echo a > a
hg add a
hg rm a
hg rm -f a
echo b > b
hg ci -A -m 3 -d "1000001 0"
echo c >> b
hg rm b
hg rm -f b
2005-08-18 00:26:06 +04:00
cd ..
hg clone a b