mercurial/cmdutil.py
changeset 28630 bf35644b9f3a
parent 28628 ed1d90f6e921
child 28638 44319097e7b9
--- a/mercurial/cmdutil.py	Sat Mar 26 19:01:12 2016 +0900
+++ b/mercurial/cmdutil.py	Sat Mar 26 18:12:12 2016 +0900
@@ -1542,11 +1542,7 @@
     if not tmpl and not style: # template are stronger than style
         tmpl = ui.config('ui', 'logtemplate')
         if tmpl:
-            try:
-                tmpl = templater.unquotestring(tmpl)
-            except SyntaxError:
-                pass
-            return tmpl, None
+            return templater.unquotestring(tmpl), None
         else:
             style = util.expandpath(ui.config('ui', 'style', ''))