hgext/churn.py
changeset 28628 ed1d90f6e921
parent 28472 70d3dc05e118
child 29841 d5883fd055c6
--- a/hgext/churn.py	Wed Mar 23 13:34:47 2016 -0700
+++ b/hgext/churn.py	Sat Mar 26 18:01:04 2016 +0900
@@ -19,7 +19,6 @@
     cmdutil,
     commands,
     encoding,
-    error,
     patch,
     scmutil,
     util,
@@ -34,12 +33,7 @@
 testedwith = 'internal'
 
 def maketemplater(ui, repo, tmpl):
-    try:
-        t = cmdutil.changeset_templater(ui, repo, False, None, tmpl,
-                                        None, False)
-    except SyntaxError as inst:
-        raise error.Abort(inst.args[0])
-    return t
+    return cmdutil.changeset_templater(ui, repo, False, None, tmpl, None, False)
 
 def changedlines(ui, repo, ctx1, ctx2, fns):
     added, removed = 0, 0