##// END OF EJS Templates
templatefilters: add "nonempty" template filter...
templatefilters: add "nonempty" template filter It ensures that at least "(none)" is returned in case the argument passed is None or ''. This is primarily useful to render empty changelog messages for hgweb but may be useful for others, too.

File last commit:

r1919:8f565af1 default
r8234:27dbe534 default
Show More
map-cmdline.compact
8 lines | 266 B | text/plain | TextLexer
Vadim Gelfer
make --style=compact look for map-cmdline.compact....
r1914 changeset = '{rev}{tags}{parents} {node|short} {date|isodate} {author|user}\n {desc|firstline|strip}\n\n'
Vadim Gelfer
add changeset_quiet to templates.
r1919 changeset_quiet = '{rev}:{node|short}\n'
Vadim Gelfer
make --style=compact look for map-cmdline.compact....
r1914 start_tags = '['
tag = '{tag},'
last_tag = '{tag}]'
start_parents = ':'
parent = '{rev},'
last_parent = '{rev}'