tests/test-symlink-addremove
author Bill Barry <after.fallout@gmail.com>
Fri, 24 Jul 2009 15:53:40 -0600
changeset 9243 df21a009c9c4
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
fix issue 1763: strip chars from end of line when parsing gitpatch lines

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