diff hgext/notify.py @ 35954:386c1e45e671

logcmdutil: drop default arguments from changesetdisplayer/templater() calls
author Yuya Nishihara <yuya@tcha.org>
date Sun, 21 Jan 2018 14:28:03 +0900
parents c8e2d6ed1f9e
children c6061cadb400
line wrap: on
line diff
--- a/hgext/notify.py	Sun Jan 21 13:47:06 2018 +0900
+++ b/hgext/notify.py	Sun Jan 21 14:28:03 2018 +0900
@@ -258,8 +258,7 @@
         if not mapfile and not template:
             template = deftemplates.get(hooktype) or single_template
         spec = logcmdutil.templatespec(template, mapfile)
-        self.t = logcmdutil.changesettemplater(self.ui, self.repo, spec,
-                                               False, None, False)
+        self.t = logcmdutil.changesettemplater(self.ui, self.repo, spec)
 
     def strip(self, path):
         '''strip leading slashes from local path, turn into web-safe path.'''