tests/test-symlink-addremove
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 15 Oct 2008 23:27:35 +0200
changeset 7103 7a19053e4bfc
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
merge with crew

#!/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