Mercurial > hg
comparison .hgtags @ 31886:bdda942f4b9c
templater: add support for keyword arguments
Unlike revset, function arguments are pre-processed in templater. That's why
we need to define argspec per function. An argspec field looks somewhat
redundant in @templatefunc definition as a name field contains human-readable
list of arguments. I'll make function doc be built from argspec later.
Ported separate() function as an example.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 03 Apr 2017 21:22:39 +0900 |
parents | 8076499d292a |
children | 962f7cfbf429 |
comparison
equal
deleted
inserted
replaced
31885:d18b624c1c06 | 31886:bdda942f4b9c |
---|