# HG changeset patch # User Martin Geisler # Date 2009-05-17 14:25:48 # Node ID 110763cc3ab03a8947e6198e0c04c495fbd17c88 # Parent 8e2c0ab94432e8498fa34bf69907be9e0277c6f2 templater: lowercase error message Changing this messages should be safe: automated scripts ought to have debugged their templates and wont grep for this error message. diff --git a/mercurial/templater.py b/mercurial/templater.py --- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -74,7 +74,7 @@ class engine(object): key, format = expr.split('%') v = get(key) if not hasattr(v, '__iter__'): - raise SyntaxError(_("Error expanding '%s%%%s'") % (key, format)) + raise SyntaxError(_("error expanding '%s%%%s'") % (key, format)) lm = map.copy() for i in v: lm.update(i)