Add a multi-repository server
This merges a bunch of the ideas for a multi-repository CGI script and
simplifies things a bit.
It uses PATH_INFO so it generally wants paths of the form:
http://host/hg.cgi/virtualpath
This gets mapped via a simple config file to the real path. All info
about the repo is read from the repo's hgrc.
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