tests/test-symlink-addremove
author Matt Mackall <mpm@selenic.com>
Mon, 15 Jun 2009 02:51:10 -0500
changeset 8816 a7c4eb0cc0ed
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
subrepo: add a test

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