view templates/manifest.tmpl @ 2579:0875cda033fd

use __contains__, index or split instead of str.find str.find return -1 when the substring is not found, -1 evaluate to True and is a valid index, which can lead to bugs. Using alternatives when possible makes the code clearer and less prone to bugs. (and __contains__ is faster in microbenchmarks)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 09 Jul 2006 01:30:30 +0200
parents f2ebd5251e88
children 46b19175fec6
line wrap: on
line source

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

<div class="buttons">
<a href="?cl=#rev#">changelog</a>
<a href="?tags=">tags</a>
<a href="?cs=#node|short#">changeset</a>
#archives%archiveentry#
</div>

<h2>manifest for changeset #node|short#: #path|escape#</h2>

<table cellpadding="0" cellspacing="0">
<tr class="parity1">
  <td><tt>drwxr-xr-x</tt>&nbsp;
  <td><a href="?mf=#manifest|short#;path=#up|urlescape#">[up]</a>
#dentries%manifestdirentry#
#fentries%manifestfileentry#
</table>
#footer#