# HG changeset patch # User Siddharth Agarwal # Date 2014-11-19 05:47:47 # 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 --git a/hgext/notify.py b/hgext/notify.py --- a/hgext/notify.py +++ b/hgext/notify.py @@ -341,7 +341,8 @@ class notifier(object): 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):