Mercurial > hg
annotate tests/test-mq-qgoto @ 6987:d09e813b21e3
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).
author | Rocco Rutte <pdmef@gmx.net> |
---|---|
date | Fri, 05 Sep 2008 10:39:57 +0200 |
parents | 905397be7688 |
children | 12df451ce205 |
rev | line source |
---|---|
4432 | 1 #!/bin/sh |
2 | |
3 echo "[extensions]" >> $HGRCPATH | |
4 echo "mq=" >> $HGRCPATH | |
5 | |
6 hg init a | |
7 cd a | |
8 echo a > a | |
9 hg ci -Ama | |
10 | |
11 hg qnew a.patch | |
12 echo a >> a | |
13 hg qrefresh | |
14 | |
15 hg qnew b.patch | |
16 echo b > b | |
17 hg add b | |
18 hg qrefresh | |
19 | |
20 hg qnew c.patch | |
21 echo c > c | |
22 hg add c | |
23 hg qrefresh | |
24 | |
25 hg qgoto a.patch | |
26 hg qgoto c.patch | |
27 hg qgoto b.patch |