Mercurial > hg
changeset 9486:dd8d10c36c9c
notify: make it possible to pass extra info into templates
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 24 Aug 2009 16:30:42 -0700 |
parents | 20ed9909dbd9 |
children | 90ae579924e4 |
files | hgext/notify.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.'''