tests/test-symlink-addremove
author Christian Ebert <blacktrash@gmx.net>
Sun, 07 Mar 2010 13:03:03 +0100
changeset 10603 f511df3a4357
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
keyword: use status' names instead of index

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