tests/test-symlink-addremove
author Matt Mackall <mpm@selenic.com>
Sat, 18 Oct 2008 04:26:06 -0500
changeset 7119 50f4e866d693
parent 6651 7f0dd352fb4d
permissions -rwxr-xr-x
dirstate: always add times to map as integers Fix bug spotted by Dov Feldstern

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