equal
deleted
inserted
replaced
908 |
908 |
909 # ui settings |
909 # ui settings |
910 if not (tmpl or style): |
910 if not (tmpl or style): |
911 tmpl = ui.config('ui', 'logtemplate') |
911 tmpl = ui.config('ui', 'logtemplate') |
912 if tmpl: |
912 if tmpl: |
913 tmpl = templater.parsestring(tmpl) |
913 try: |
|
914 tmpl = templater.parsestring(tmpl) |
|
915 except SyntaxError: |
|
916 tmpl = templater.parsestring(tmpl, quoted=False) |
914 else: |
917 else: |
915 style = util.expandpath(ui.config('ui', 'style', '')) |
918 style = util.expandpath(ui.config('ui', 'style', '')) |
916 |
919 |
917 if not (tmpl or style): |
920 if not (tmpl or style): |
918 return changeset_printer(ui, repo, patch, opts, buffered) |
921 return changeset_printer(ui, repo, patch, opts, buffered) |