merge with crew-stable
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 07 Aug 2008 09:53:27 +0200
changeset 6866 0ff5d2bbd8b1
parent 6864 105d8676a688 (current diff)
parent 6865 d923a051f84c (diff)
child 6867 e64f5abb8a88
merge with crew-stable
hgext/notify.py
--- a/hgext/notify.py	Wed Aug 06 17:19:14 2008 -0500
+++ b/hgext/notify.py	Thu Aug 07 09:53:27 2008 +0200
@@ -234,7 +234,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)