Show More
@@ -236,7 +236,7 b' class notifier(object):' | |||||
236 | maxdiff = int(self.ui.config('notify', 'maxdiff', 300)) |
|
236 | maxdiff = int(self.ui.config('notify', 'maxdiff', 300)) | |
237 | prev = self.repo.changelog.parents(node)[0] |
|
237 | prev = self.repo.changelog.parents(node)[0] | |
238 | self.ui.pushbuffer() |
|
238 | self.ui.pushbuffer() | |
239 | patch.diff(self.repo, prev, ref) |
|
239 | patch.diff(self.repo, prev, ref, opts=patch.diffopts(self.ui)) | |
240 | difflines = self.ui.popbuffer().splitlines(1) |
|
240 | difflines = self.ui.popbuffer().splitlines(1) | |
241 | if self.ui.configbool('notify', 'diffstat', True): |
|
241 | if self.ui.configbool('notify', 'diffstat', True): | |
242 | s = patch.diffstat(difflines) |
|
242 | s = patch.diffstat(difflines) |
General Comments 0
You need to be logged in to leave comments.
Login now