--- a/mercurial/templater.py Sun Oct 06 16:39:13 2019 -0400 +++ b/mercurial/templater.py Sun Oct 06 16:55:18 2019 -0400 @@ -68,6 +68,7 @@ import os from .i18n import _ +from .pycompat import getattr from . import ( config, encoding,