tests/test-symlink-addremove
author Cédric Duval <cedricduval@free.fr>
Sun, 17 May 2009 09:45:49 +0200
changeset 8471 e88cc16ba603
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
patchbomb: fix help to reflect actual operation In the body, the description is shown in its entirety, unstripped from what was already in the subject.

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