Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/old/fileannotate.tmpl @ 4492:b79cdb7f0597
patch.diff: avoid calling workingctx().manifest()
Right now, to generate the manifest of the working dir, we have to
perform a full walk of the working dir, which will be very slow,
especially if we're interested in only a small part of it.
Since we use the manifest only to find out the mode of files for git
patches, manually build an execf function to do it.
This should fix issue567.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sun, 03 Jun 2007 14:38:52 -0300 |
parents | fc34c031ff54 |
children |
rev | line source |
---|---|
142 | 1 #header# |
1650
f2ebd5251e88
changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
Peter van Dijk <peter@dataloss.nl>
parents:
1606
diff
changeset
|
2 <title>#repo|escape#: #file|escape# annotate</title> |
142 | 3 </head> |
138 | 4 <body> |
5 | |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
6 <div class="buttons"> |
1410
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
1370
diff
changeset
|
7 <a href="?cl=#rev#">changelog</a> |
2687
46b19175fec6
[hgweb] links to shortlog for the default templates
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
1694
diff
changeset
|
8 <a href="?sl=#rev#">shortlog</a> |
1410
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
1370
diff
changeset
|
9 <a href="?tags=">tags</a> |
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
1370
diff
changeset
|
10 <a href="?cs=#node|short#">changeset</a> |
3205 | 11 <a href="?mf=#node|short#;path=#path|urlescape#">manifest</a> |
3206
79fd7a92f3e2
hgweb: kill off #filenode#
Brendan Cully <brendan@kublai.com>
parents:
3205
diff
changeset
|
12 <a href="?f=#node|short#;file=#file|urlescape#">file</a> |
79fd7a92f3e2
hgweb: kill off #filenode#
Brendan Cully <brendan@kublai.com>
parents:
3205
diff
changeset
|
13 <a href="?fl=#node|short#;file=#file|urlescape#">revisions</a> |
79fd7a92f3e2
hgweb: kill off #filenode#
Brendan Cully <brendan@kublai.com>
parents:
3205
diff
changeset
|
14 <a href="?fa=#node|short#;file=#file|urlescape#;style=raw">raw</a> |
142 | 15 </div> |
138 | 16 |
1650
f2ebd5251e88
changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
Peter van Dijk <peter@dataloss.nl>
parents:
1606
diff
changeset
|
17 <h2>Annotate #file|escape#</h2> |
138 | 18 |
19 <table> | |
20 <tr> | |
167 | 21 <td class="metatag">changeset #rev#:</td> |
1410
17703aa4491e
hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents:
1370
diff
changeset
|
22 <td><a href="?cs=#node|short#">#node|short#</a></td></tr> |
1653
e8a3df8b62b3
hgweb: show copy/rename links in file history
Matt Mackall <mpm@selenic.com>
parents:
1650
diff
changeset
|
23 #rename%filerename# |
1416
19d2776f1725
hgweb: hide trivial parent (like in show_changeset)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
1410
diff
changeset
|
24 #parent%fileannotateparent# |
1606
ba625c8083d8
- duplicate the parent link logic to show child links
Muli Ben-Yehuda <mulix@mulix.org>
parents:
1416
diff
changeset
|
25 #child%fileannotatechild# |
138 | 26 <tr> |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
27 <td class="metatag">author:</td> |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
168
diff
changeset
|
28 <td>#author|obfuscate#</td></tr> |
138 | 29 <tr> |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
30 <td class="metatag">date:</td> |
236
85f0420fd848
Removed extra closing brace from date string.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
201
diff
changeset
|
31 <td>#date|date# (#date|age# ago)</td></tr> |
359 | 32 <tr> |
33 <td class="metatag">permissions:</td> | |
34 <td>#permissions|permissions#</td></tr> | |
138 | 35 </table> |
36 | |
142 | 37 <br/> |
138 | 38 |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
39 <table cellspacing="0" cellpadding="0"> |
977
289975641886
hgweb: Changed annotate page to list format syntax
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
570
diff
changeset
|
40 #annotate%annotateline# |
138 | 41 </table> |
42 | |
142 | 43 #footer# |