diff -r d6f8a1535224 -r bf35644b9f3a mercurial/formatter.py --- a/mercurial/formatter.py Sat Mar 26 19:01:12 2016 +0900 +++ b/mercurial/formatter.py Sat Mar 26 18:12:12 2016 +0900 @@ -171,11 +171,7 @@ # perhaps it's a reference to [templates] t = ui.config('templates', tmpl) if t: - try: - tmpl = templater.unquotestring(t) - except SyntaxError: - tmpl = t - return tmpl, None + return templater.unquotestring(t), None if tmpl == 'list': ui.write(_("available styles: %s\n") % templater.stylelist())