# HG changeset patch # User Siddharth Agarwal # Date 1416376067 28800 # Node ID 317ccfbd1a84c0b0b7e2f6aa0601fb5bb99635e5 # Parent 341e4798c24db204b8c0145b890c75fe6fc750d2 notify: explicitly honor all diffopts The notify output doesn't seem to be parseable anyway, what with the maxdiff config option. Plus it is designed mainly for servers where hopefully the admins are doing sensible things. diff -r 341e4798c24d -r 317ccfbd1a84 hgext/notify.py --- a/hgext/notify.py Tue Nov 18 22:13:05 2014 -0800 +++ b/hgext/notify.py Tue Nov 18 21:47:47 2014 -0800 @@ -341,7 +341,8 @@ maxdiff = int(self.ui.config('notify', 'maxdiff', 300)) prev = ctx.p1().node() ref = ref and ref.node() or ctx.node() - chunks = patch.diff(self.repo, prev, ref, opts=patch.diffopts(self.ui)) + chunks = patch.diff(self.repo, prev, ref, + opts=patch.diffallopts(self.ui)) difflines = ''.join(chunks).splitlines() if self.ui.configbool('notify', 'diffstat', True):