diff tests/test-rebase-obsolete.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 ead71b15efd5
children cc37009e95ca
line wrap: on
line diff