view tests/test-debugindexdot @ 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 8838fe5a236f
children
line wrap: on
line source

#!/bin/sh

# Just exercize debugindexdot
# Create a short file history including a merge.
hg init t
cd t
echo a > a
hg ci -qAm t1 -d '0 0'
echo a >> a
hg ci -m t2 -d '1 0'
hg up -qC 0
echo b >> a
hg ci -m t3 -d '2 0'
HGMERGE=true hg merge -q
hg ci -m merge -d '3 0'

hg debugindexdot .hg/store/data/a.i