annotate mercurial/templates/gitweb/index.tmpl @ 26005:6f4a280298c1

changelog: add way to call the reachableroots C implementation This patch is part of a series of patches to speed up the computation of revset.reachableroots by introducing a C implementation. The main motivation is to speed up smartlog on big repositories. At the end of the series, on our big repositories the computation of reachableroots is 10-50x faster and smartlog on is 2x-5x faster. This patch allows us to call the new C implementation of reachableroots from python by creating an entry point in the changelog class.
author Laurent Charignon <lcharignon@fb.com>
date Thu, 06 Aug 2015 22:10:31 -0700
parents 20ed56771b21
children eb7de21b15be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
1 {header}
3222
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">
13964
616ad3f6fd33 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents: 10301
diff changeset
7 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a>
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 13964
diff changeset
8 <a href="/">Mercurial</a> {pathdef%breadcrumb}
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
9 </div>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
10
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
11 <table cellspacing="0">
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
12 <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
13 <td><a href="?sort={sort_name}">Name</a></td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
14 <td><a href="?sort={sort_description}">Description</a></td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
15 <td><a href="?sort={sort_contact}">Contact</a></td>
10301
56b50194617f templates: rename `Last change' column in hgwebdir repository list.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 9999
diff changeset
16 <td><a href="?sort={sort_lastchange}">Last modified</a></td>
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
17 <td>&nbsp;</td>
5269
46c5e1ee8aaa Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents: 3478
diff changeset
18 <td>&nbsp;</td>
5784
d17e57592909 Fixed XHTML validation errors
Kevin Christen <kevin.christen@gmail.com>
parents: 5269
diff changeset
19 </tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
20 {entries%indexentry}
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
21 </table>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
22 <div class="page_footer">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5820
diff changeset
23 {motd}
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
24 </div>
25871
20ed56771b21 hgweb: show ages in repos' Last modified column in monoblue and gitweb
Anton Shestakov <av6@dwimlabs.net>
parents: 18258
diff changeset
25 <script type="text/javascript">process_dates()</script>
3222
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
26 </body>
a5603ad915c5 Add gitweb style hgwebdir
Edouard Gomez <ed.gomez@free.fr>
parents:
diff changeset
27 </html>