diff mercurial/formatter.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 e7bc0667c521
children 8bb3899a0f47
line wrap: on
line diff