annotate mercurial/templates/rss/changelogentry.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 16352b34e32e
children 849b8e84487e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
1 <item>
21118
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
2 <title>{inbranch%"{if(name, '[{name|escape}] ')}"}{branches%"{if(name, '[{name|escape}] ')}"}{desc|strip|firstline|strip|escape}</title>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
3 <guid isPermaLink="true">{urlbase}{url|urlescape}rev/{node|short}</guid>
21119
26f39f28b059 hgweb: adding article link to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21118
diff changeset
4 <link>{urlbase}{url|urlescape}rev/{node|short}</link>
21057
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
5 <description>
21118
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
6 <![CDATA[
21057
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
7 <table>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
8 <tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
9 <th style="text-align:left;">changeset</th>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
10 <td>{node|short}</td>
21118
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
11 </tr>
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
12 <tr>
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
13 <th style="text-align:left;">branch</th>
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
14 <td>{inbranch%"{name|escape}"}{branches%"{name|escape}"}</td>
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
15 </tr>
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
16 <tr>
e1a3898a8bb8 hgweb: adding branch names from inbranch template to rss feed
Aaron Jensen <ajensen@webmd.net>
parents: 21057
diff changeset
17 <th style="text-align:left;">bookmark</th>
21057
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
18 <td>{bookmarks%"{name|escape}"}</td>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
19 </tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
20 <tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
21 <th style="text-align:left;">tag</th>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
22 <td>{tags%"{name|escape}"}</td>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
23 </tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
24 <tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
25 <th style="text-align:left;vertical-align:top;">user</th>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
26 <td>{author|obfuscate}</td>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
27 </tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
28 <tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
29 <th style="text-align:left;vertical-align:top;">description</th>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 21119
diff changeset
30 <td>{desc|strip|escape|websub|addbreaks|nonempty}</td>
21057
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
31 </tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
32 <tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
33 <th style="text-align:left;vertical-align:top;">files</th>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
34 <td>{files}</td>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
35 </tr>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
36 </table>
19ee4923a2b6 hgweb: adding branch, tags, bookmarks, user, and file list to rss feed entries
Aaron Jensen <ajensen@webmd.net>
parents: 18526
diff changeset
37 ]]></description>
8428
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8235
diff changeset
38 <author>{author|obfuscate}</author>
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8235
diff changeset
39 <pubDate>{date|rfc822date}</pubDate>
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
40 </item>