diff tests/test-merge-types.t @ 38434:8399438bc7ef

formatter: provide hint of context keys required by template This allows us to create ctx objects only if necessary. I tried another idea which is to populate ctx from 'repo' and 'node' value on demand. It worked, but seemed unnecessarily complicated. So I chose a simpler one. The datafields argument is a space-separated string for consistency with fm.write() API.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 08 Jun 2018 22:10:22 +0900
parents 41ef02ba329b
children ee17af097257
line wrap: on
line diff