changeset 16699 | d947e1da1259 |
parent 16687 | e34106fa0dc3 |
parent 16678 | 48b1674ac1e7 |
child 16701 | 34c30506dd4e |
--- a/mercurial/cmdutil.py Sun May 13 11:47:55 2012 +0200 +++ b/mercurial/cmdutil.py Sun May 13 12:52:24 2012 +0200 @@ -910,7 +910,10 @@ if not (tmpl or style): tmpl = ui.config('ui', 'logtemplate') if tmpl: - tmpl = templater.parsestring(tmpl) + try: + tmpl = templater.parsestring(tmpl) + except SyntaxError: + tmpl = templater.parsestring(tmpl, quoted=False) else: style = util.expandpath(ui.config('ui', 'style', ''))