Mercurial > hg
comparison tests/test-convert-bzr-directories.t @ 28539:119702a8b415
templatekw: use templatekeyword to mark a function as template keyword
Using decorator can localize changes for adding (or removing) a
template keyword function in source code.
This patch also removes leading ":KEYWORD:" part in help document of
each keywords, because using templatekeyword makes it useless.
For similarity to decorator introduced by subsequent patches, this
patch uses 'templatekeyword' instead of 'keyword' as a decorator name,
even though the former is a little redundant in 'templatekw.py'.
file name reason
=================== ================= ==================================
templatekw.py templatekeyword for similarity to others
templatefilters.py templatefilter 'filter' hides Python built-in one
templaters.py templatefunc 'func' is too generic
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sun, 13 Mar 2016 05:17:06 +0900 |
parents | 89872688893f |
children | 815e9ca1078c |
comparison
equal
deleted
inserted
replaced
28538:009f58f1ea75 | 28539:119702a8b415 |
---|