##// END OF EJS Templates
highlight: only pygmentize for HTML mimetypes...
highlight: only pygmentize for HTML mimetypes For non-html mimetypes it doesn't make much sense. This also fixes the issue that highlight unconditionally adds a <link/> tag for its CSS to the template's header (which is pointless in text/plain output).

File last commit:

r6651:7f0dd352 default
r6987:d09e813b 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