diff mercurial/templater.py @ 37227:e70a90a72b80

templatefuncs: use evaldate() where seems appropriate This means date("today") is allowed. Also fixes evaldate() to forcibly use the custom error message if specified.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 18 Mar 2018 15:58:22 +0900
parents b56b79185aad
children 7d3bc1d4e871
line wrap: on
line diff