diff mercurial/templatekw.py @ 37225: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 be3f33f5e232
children 45987e2b64f0
line wrap: on
line diff