Mercurial > hg
view mercurial/templates/rss/filelogentry.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 | 16352b34e32e |
children | 7817df5585db |
line wrap: on
line source
<item> <title>{desc|strip|firstline|strip|escape}</title> <link>{urlbase}{url|urlescape}log{node|short}/{file|urlescape}</link> <description><![CDATA[{desc|strip|escape|websub|addbreaks|nonempty}]]></description> <author>{author|obfuscate}</author> <pubDate>{date|rfc822date}</pubDate> </item>