##// END OF EJS Templates
templates: make {indent("", " ")} be empty...
templates: make {indent("", " ")} be empty indent() is documented to indent all non-empty lines, but it made an exception for the first line, which always got indented. I also made indent() not indent the first line even if an indent override was given for the first line. I think that is what one would usually want. Differential Revision: https://phab.mercurial-scm.org/D7432

File last commit:

r24588:0bf54479 default
r44093:fa246ada default
Show More
changelist.tmpl
5 lines | 124 B | application/x-cheetah | CheetahLexer
Gregory Szorc
json: implement {shortlog} and {changelog} templates...
r24588 \{
"node": {node|json},
"changeset_count": {changesets|json},
"changesets": [{join(entries%changelistentry, ", ")}]
}