annotate templates/gitweb/index.tmpl @ 5369:7530334bf301

revlog: generate trivial deltas against null revision To avoid extra memory usage and performance issues with large files, generate a trivial delta header for deltas against the null revision rather than calling the usual delta generator. We append the delta header to meta rather than prepending it to data to avoid a large allocate and copy.
author Matt Mackall <mpm@selenic.com>
date Wed, 03 Oct 2007 17:17:27 -0500
parents 46c5e1ee8aaa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3214
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
1 #header#
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
2 <title>Mercurial repositories index</title>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
3 </head>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
4 <body>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
5
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
6 <div class="page_header">
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
7 <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a>Repositories list
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
8 </div>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
9
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
10 <table cellspacing="0">
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
11 <tr>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
12 <td><a href="?sort=#sort_name#">Name</a></td>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
13 <td><a href="?sort=#sort_description#">Description</a></td>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
14 <td><a href="?sort=#sort_contact#">Contact</a></td>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
15 <td><a href="?sort=#sort_lastchange#">Last change</a></td>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
16 <td>&nbsp;</td>
5266
46c5e1ee8aaa Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents: 3473
diff changeset
17 <td>&nbsp;</td>
3214
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
18 <tr>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
19 #entries%indexentry#
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
20 </table>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
21 <div class="page_footer">
3473
2896ce093ec4 Add #motd# to gitweb pages. Needs to pass self.motd to index template, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3226
diff changeset
22 #motd#
3214
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
23 </div>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
24 </body>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
25 </html>