##// END OF EJS Templates
tests: guess lexer by filename for recent pygments...
tests: guess lexer by filename for recent pygments Recent pygments guess AntlrJavaLexer for the isolatin text, converted to ascii by util.tolocal, which yields class="err". Guess lexer by extension instead.

File last commit:

r6651:7f0dd352 default
r7959:5fb6edbf default
Show More
test-symlink-addremove
15 lines | 222 B | text/plain | TextLexer
/ tests / test-symlink-addremove
#!/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