tests/test-symlink-addremove
author Matt Mackall <mpm@selenic.com>
Tue, 17 Nov 2009 16:22:17 -0600
branchstable
changeset 9872 274d8e45da78
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
Add stable branch

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