##// END OF EJS Templates
notify: make it possible to pass extra info into templates
Bryan O'Sullivan -
r9486:dd8d10c3 default
parent child Browse files
Show More
@@ -165,11 +165,11 b' class notifier(object):'
165 def url(self, path=None):
165 def url(self, path=None):
166 return self.ui.config('web', 'baseurl') + (path or self.root)
166 return self.ui.config('web', 'baseurl') + (path or self.root)
167
167
168 def node(self, ctx):
168 def node(self, ctx, **props):
169 '''format one changeset.'''
169 '''format one changeset.'''
170 self.t.show(ctx, changes=ctx.changeset(),
170 self.t.show(ctx, changes=ctx.changeset(),
171 baseurl=self.ui.config('web', 'baseurl'),
171 baseurl=self.ui.config('web', 'baseurl'),
172 root=self.repo.root, webroot=self.root)
172 root=self.repo.root, webroot=self.root, **props)
173
173
174 def skipsource(self, source):
174 def skipsource(self, source):
175 '''true if incoming changes from this source should be skipped.'''
175 '''true if incoming changes from this source should be skipped.'''
General Comments 0
You need to be logged in to leave comments. Login now