# HG changeset patch # User Doug Philips # Date 1218094302 -7200 # Node ID d923a051f84c47e7cc65d1684c24a7fff29dbda2 # Parent 6d904eb19c2aa178367b34f41d46dfe71046dc2a Let the notify extension use [diff] options too. diff -r 6d904eb19c2a -r d923a051f84c hgext/notify.py --- a/hgext/notify.py Sat Aug 02 22:10:54 2008 +0200 +++ b/hgext/notify.py Thu Aug 07 09:31:42 2008 +0200 @@ -236,7 +236,7 @@ maxdiff = int(self.ui.config('notify', 'maxdiff', 300)) prev = self.repo.changelog.parents(node)[0] self.ui.pushbuffer() - patch.diff(self.repo, prev, ref) + patch.diff(self.repo, prev, ref, opts=patch.diffopts(self.ui)) difflines = self.ui.popbuffer().splitlines(1) if self.ui.configbool('notify', 'diffstat', True): s = patch.diffstat(difflines)