diff contrib/check-commit @ 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 2fb3ae89e4e1
children 47084b5ffd80
line wrap: on
line diff