templates/filerevision.tmpl
author mpm@selenic.com
Tue, 16 Aug 2005 14:53:47 -0800
changeset 917 7f3f55903496
parent 570 2ee819a950aa
child 976 5d5ab159d197
child 980 5197fb9d65d5
child 981 4f81068ed8cd
permissions -rw-r--r--
Fix hg clone race with writer Most read operations in hg don't need locks because we order reads and writes for consistency. Clone is an exception to this as we're copying entire file histories and could end up with more file history copied than we have commits. For now, make clone take a lock on the source repo. Non-hardlinked clone should eventually be changed to use lockless pull.

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

<div class="buttons">
<a href="?cmd=changelog;rev=#rev#">changelog</a>
<a href="?cmd=tags">tags</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>
<a href="?cmd=file;file=#file#;filenode=#filenode#;style=raw">raw</a>
</div>

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

<table>
<tr>
 <td class="metatag">changeset #rev#:</td>
 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
#parent#
<tr>
 <td class="metatag">manifest:</td>
 <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td></tr>
<tr>
 <td class="metatag">author:</td>
 <td>#author|obfuscate#</td></tr>
<tr>
 <td class="metatag">date:</td>
 <td>#date|date# (#date|age# ago)</td></tr>
<tr>
 <td class="metatag">permissions:</td>
 <td>#permissions|permissions#</td></tr>
</table>

<pre>
#text#
</pre>

#footer#