view tests/test-symlink-addremove @ 11543:0a2762d83c53 stable

test-bheads: use a case-insensitive set of filenames (issue2274) This prevents false negatives on case-insensitive systems.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Tue, 06 Jul 2010 15:05:03 +0900
parents 7f0dd352fb4d
children
line wrap: on
line source

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