##// END OF EJS Templates
hgweb: fixes traceback for invalid files by removing top-level template...
hgweb: fixes traceback for invalid files by removing top-level template The top-level 'comparison' template was not really needed, and it also caused a traceback to be shown for inexistent files (as reported by Ross Lagerwall). Getting rid of it makes the overall templating structure simpler and causes invalid files to be handled nicely.

File last commit:

r9999:f91e5630 default
r17302:5c64ce61 stable
Show More
error.tmpl
17 lines | 457 B | application/x-cheetah | CheetahLexer
{header}
<!-- Error -->
<id>{urlbase}{url}</id>
<link rel="self" href="{urlbase}{url}atom-log"/>
<link rel="alternate" href="{urlbase}{url}"/>
<title>Error</title>
<updated>1970-01-01T00:00:00+00:00</updated>
<entry>
<title>Error</title>
<id>http://mercurial.selenic.com/#error</id>
<author>
<name>mercurial</name>
</author>
<updated>1970-01-01T00:00:00+00:00</updated>
<content type="text">{error|escape}</content>
</entry>
</feed>