# HG changeset patch # User Bryan O'Sullivan # Date 1251156642 25200 # Node ID dd8d10c36c9c0af2df65cce1644cf81c8173dc0a # Parent 20ed9909dbd9251f76cacb463c480488eebf736b notify: make it possible to pass extra info into templates diff -r 20ed9909dbd9 -r dd8d10c36c9c hgext/notify.py --- a/hgext/notify.py Sat Aug 22 19:40:15 2009 +0200 +++ b/hgext/notify.py Mon Aug 24 16:30:42 2009 -0700 @@ -165,11 +165,11 @@ def url(self, path=None): return self.ui.config('web', 'baseurl') + (path or self.root) - def node(self, ctx): + def node(self, ctx, **props): '''format one changeset.''' self.t.show(ctx, changes=ctx.changeset(), baseurl=self.ui.config('web', 'baseurl'), - root=self.repo.root, webroot=self.root) + root=self.repo.root, webroot=self.root, **props) def skipsource(self, source): '''true if incoming changes from this source should be skipped.'''