Make tests work on Solaris:
- replacement for mktemp
- fall back if shell arithmetic doesn't work
- replacement for 'set -x' (which results look different with some shells)
- "FOO=bar; export FOO" instead of "export FOO=bar"
- don't use 'if ! ...'
header = header-raw.tmpl
footer = ""
changeset = changeset-raw.tmpl
annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author#@#rev#</a></td><td><pre>#line#</pre></td></tr>"
difflineplus = "#line#"
difflineminus = "#line#"
difflineat = "#line#"
diffline = "#line#"
changesetparent = "# parent: #node#"
filenodelink = "#file#"
filerevision = filerevision-raw.tmpl
fileline = "#line#"
diffblock = "#lines#"
filediff = filediff-raw.tmpl