hgext/notify.py
changeset 24987 fd7287f0b43c
parent 24306 6ddc86eedc3b
child 25186 80c5b2666a96
--- a/hgext/notify.py	Tue Apr 14 12:45:15 2015 -0700
+++ b/hgext/notify.py	Mon May 04 10:01:03 2015 +0900
@@ -138,7 +138,7 @@
 # load. This was not a problem on Python 2.7.
 import email.Parser
 from mercurial.i18n import _
-from mercurial import patch, cmdutil, templater, util, mail
+from mercurial import patch, cmdutil, util, mail
 import fnmatch
 
 testedwith = 'internal'
@@ -190,8 +190,6 @@
                     self.ui.config('notify', 'template'))
         if not mapfile and not template:
             template = deftemplates.get(hooktype) or single_template
-        if template:
-            template = templater.parsestring(template, quoted=False)
         self.t = cmdutil.changeset_templater(self.ui, self.repo, False, None,
                                              template, mapfile, False)