Mercurial > hg
changeset 6865:d923a051f84c
Let the notify extension use [diff] options too.
author | Doug Philips <dgou@mac.com> |
---|---|
date | Thu, 07 Aug 2008 09:31:42 +0200 |
parents | 6d904eb19c2a |
children | 0ff5d2bbd8b1 93b03f1be289 |
files | hgext/notify.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)