tests/test-symlink-addremove
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 19 Oct 2008 20:17:06 +0200
changeset 7175 5d8626b2c1db
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
parsers.c: do not try to untrack after a failure

#!/bin/sh

"$TESTDIR/hghave" symlink || exit 80

hg init a
cd a

echo '% directory moved and symlinked'
mkdir foo
touch foo/a
hg ci -Ama
mv foo bar
ln -s bar foo
echo '% now addremove should remove old files'
hg addremove