view templates/filerevision.tmpl @ 159:f9d8620ef469

Add example CGI script This gives an example of how to easily use hgweb via CGI
author mpm@selenic.com
date Wed, 25 May 2005 16:28:23 -0800
parents 083c38bdfa64
children fad9ad1ec7c7
line wrap: on
line source

#header#
<title>#repo#:#file#</title>
</head>
<body>

<div class="buttons">
<a href="?cmd=changelog;rev=#rev#">changelog</a>
<a href="?cmd=changeset;node=#node#">changeset</a>
<a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a>
<a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a>
<a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a>
</div>

<h2>#file# (revision #filenode#)</h2>

<table>
<tr>
 <td class="metatag">changeset:</td>
 <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>
#parent1#
#parent2#
<tr>
 <td class="metatag">manifest:</td>
 <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr>
<tr>
 <td class="metatag">author:</td>
 <td>#author#</td></tr>
<tr>
 <td class="metatag">date:</td>
 <td>#date#</td></tr>
</table>

<pre>
#text#
</pre>

#footer#