view templates/changeset.tmpl @ 1534:80a3d6a0af71

Optimize manifest.add Testing shows that manifest.add is spending a significant percentage of its time running calcoffsets and doing text = "".join(addlist). This patch removes the need for both of these by storying the manifest in a character array, and using a modified bisect search to find lines without the help of a separate index of line offsets. manifest.add was also reworked to push delta construction/combination into the main loop. Time to apply 2751 patches (without psyco, ext3 noatime,data=writeback): Stock hg: 4m45s real 3m32s user 55s sys patched: 2m48s real 1m53s user 43s sys quilt: 2m30s real 45s user 50s sys (quilt does much more io...)
author mason@suse.com
date Fri, 11 Nov 2005 18:20:22 -0800
parents 56281e086f38
children ba625c8083d8
line wrap: on
line source

#header#
<title>#repo|escape#: changeset #node|short#</title>
</head>
<body>

<div class="buttons">
<a href="?cl=#rev#">changelog</a>
<a href="?cmd=tags">tags</a>
<a href="?mf=#manifest|short#;path=/">manifest</a>
<a href="?cs=#node|short#;style=raw">raw</a>
#archives%archiveentry#
</div>

<h2>changeset: #desc|strip|escape|firstline#</h2>

<table id="changesetEntry">
<tr>
 <th class="changeset">changeset #rev#:</th>
 <td class="changeset"><a href="?cs=#node|short#">#node|short#</a></td>
</tr>
#parent%changesetparent#
#changesettag#
<tr>
 <th class="author">author:</th>
 <td class="author">#author|obfuscate#</td>
</tr>
<tr>
 <th class="date">date:</th>
 <td class="date">#date|date# (#date|age# ago)</td></tr>
<tr>
 <th class="files">files:</th>
 <td class="files">#files#</td></tr>
<tr>
 <th class="description">description:</th>
 <td class="description">#desc|strip|escape|addbreaks#</td>
</tr>
</table>

<div id="changesetDiff">
#diff#
</div>

#footer#