Mercurial > hg
view mercurial/templates/rss/tagentry.tmpl @ 22814:8110405cf8ae
revset-limit: use boolean testing instead of `len(revs) < 1`
I'm not sure why we wrote it that way. But smartsets have faster/lazier non-zero
testing than length computation.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 06 Oct 2014 11:43:32 -0700 |
parents | 9409aeaafdc1 |
children |
line wrap: on
line source
<item> <title>{tag|escape}</title> <link>{urlbase}{url|urlescape}rev/{node|short}</link> <description><![CDATA[{tag|strip|escape|addbreaks}]]></description> <pubDate>{date|rfc822date}</pubDate> </item>