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

r2992:4e815ee3 default
r6987:d09e813b default
Show More
test-strict
18 lines | 209 B | text/plain | TextLexer
#!/bin/sh
hg init
echo a > a
hg ci -d '0 0' -Ama
hg an a
echo "[ui]" >> $HGRCPATH
echo "strict=True" >> $HGRCPATH
hg an a
hg annotate a
echo % should succeed - up is an alias, not an abbreviation
hg up