Mercurial > hg
view mercurial/templates/atom/tagentry.tmpl @ 23605:4c4c967814ef
namespaces: add template name of a namespace
The template name property will be used in upcoming patches to automatically
generate a template keyword. For example, given a namespace called 'babars', we
will automatically generate a template keyword 'babar' such that we can use it
in the following way,
$ hg log -r . -T '{babars % "King: {babar}\n"}'
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 15 Dec 2014 00:09:52 -0800 |
parents | 9409aeaafdc1 |
children |
line wrap: on
line source
<entry> <title>{tag|escape}</title> <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/> <id>{urlbase}{url|urlescape}#tag-{node}</id> <updated>{date|rfc3339date}</updated> <published>{date|rfc3339date}</published> <content type="text">{tag|strip|escape}</content> </entry>