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