tests/test-symlink-addremove
author Patrick Mezard <pmezard@gmail.com>
Tue, 09 Mar 2010 22:18:37 +0100
changeset 10619 bcdf37680569
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
Merge with crew-stable

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