tests/test-symlink-addremove
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 02 Jul 2008 11:31:19 +0200
changeset 6795 c228ae4bc89c
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
merge the backout head

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