mercurial/templates/rss/filelogentry.tmpl
author Yuya Nishihara <yuya@tcha.org>
Sat, 27 Jun 2015 17:25:01 +0900
changeset 25705 48919d246a47
parent 21486 16352b34e32e
child 30558 7817df5585db
permissions -rw-r--r--
revset: add function to build dict of positional and keyword arguments Keyword arguments will be convenient for functions that will take more than one optional or boolean flags. For example, file(pattern[, subrepos=false]) subrepo([[pattern], status]) Because I don't think all functions should accept key=value syntax, getkwargs() does not support variadic functions such as 'ancestor(*changeset)'. The core logic is placed in the parser module because keyword arguments will be more useful in the templater, where functions take more options. Test cases will be added by the next patch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     1
<item>
8428
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8235
diff changeset
     2
    <title>{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: 13547
diff changeset
     3
    <link>{urlbase}{url|urlescape}log{node|short}/{file|urlescape}</link>
21486
16352b34e32e hgweb: apply websub filter to the changeset description in rss and atom feeds
Steven Brown <StevenGBrown@gmail.com>
parents: 18526
diff changeset
     4
    <description><![CDATA[{desc|strip|escape|websub|addbreaks|nonempty}]]></description>
8428
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8235
diff changeset
     5
    <author>{author|obfuscate}</author>
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8235
diff changeset
     6
    <pubDate>{date|rfc822date}</pubDate>
599
765182a4c843 [PATCH] Add RSS support to hgweb
mpm@selenic.com
parents:
diff changeset
     7
</item>