annotate templates/filelogentry.tmpl @ 2320:dbdce3b99988

fix parsing of tags. make parse errors useful. add new tag tests. old code read every head of .hgtags. delete and recreate of .hgtags gave new head, but if error in deleted rev, .hgtags had error messages every time it was parsed. this was very hard to fix, because deleted revs hard to get back and update, needed merges too. new code reads .hgtags on every head. advantage is if parse error happens with new code, is possible to fix them by editing .hgtags on a head and committing. NOTE: new code uses binary search of manifest of each head to be fast, but still much slower than old code. best thing would be to have delete record stored in filelog so we never touch manifest. could find live heads directly from filelog. this is more work than i want now. new tests check for parse of tags on different heads, and inaccessible heads created by delete and recreate of .hgtags.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 18 May 2006 23:31:12 -0700
parents 4990b62fd0a6
children 79fd7a92f3e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2132
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
1 <table class="logEntry parity#parity#">
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
2 <tr>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
3 <th class="age">#date|age# ago:</th>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
4 <th class="firstline"><a href="?cs=#node|short#">#desc|strip|firstline|escape#</a></th>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
5 </tr>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
6 <tr>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
7 <th class="revision">revision #filerev#:</td>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
8 <td class="node">
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
9 <a href="?f=#filenode|short#;file=#file|urlescape#">#filenode|short#</a>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
10 <a href="?fd=#node|short#;file=#file|urlescape#">(diff)</a>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
11 <a href="?fa=#filenode|short#;file=#file|urlescape#">(annotate)</a>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
12 </td>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
13 </tr>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
14 #rename%filelogrename#
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
15 <tr>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
16 <th class="author">author:</th>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
17 <td class="author">#author|obfuscate#</td>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
18 </tr>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
19 <tr>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
20 <th class="date">date:</th>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
21 <td class="date">#date|date#</td>
4990b62fd0a6 hgweb: Synchronised filelogentry to changelogentry.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 2130
diff changeset
22 </tr>
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
23 </table>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
24
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
25