view tests/test-symlink-addremove @ 6664:1e3c1f010808

Truncate input to 1K when using pygments guess_lexer. This function appears to be exponential with input length.
author Brendan Cully <brendan@kublai.com>
date Thu, 12 Jun 2008 00:11:09 -0700
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