annotate templates/filelogentry-rss.tmpl @ 1031:503aaf19a040

Rewrite log command. New version is faster and more featureful. The original implementation of log walked backwards through history, which had terrible behaviour. It took several minutes to view complete kernel change history on a fast machine, for example. The rewrite uses a windowed approach to walk hunks of history forwards, while still giving results in reverse order. This reduces run time from five minutes to five seconds on my system. In addition, the rewrite uses our normal name handling mechanisms, so you can run a command like "hg log net/ipv4/**.c" and get a useful answer. It optimises for three different cases (no arguments, only files, and anything goes), so it performs well in all circumstances I've tested.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 24 Aug 2005 12:39:10 -0700
parents 0902ffece4b4
children 17703aa4491e
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>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
2 <title>#desc|firstline|escape#</title>
626
47207ec19c51 Fix quoting for RSS links
Matt Mackall <mpm@selenic.com>
parents: 601
diff changeset
3 <link>#url#?cmd=file;file=#file#;filenode=#filenode#</link>
777
8a61f25414b5 Wrap RSS description in CDATA
mpm@selenic.com
parents: 626
diff changeset
4 <description><![CDATA[#desc|escape|addbreaks#]]></description>
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
5 <author>#author|obfuscate#</author>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
6 <pubDate>#date|rfc822date#</pubDate>>
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
7 </item>