Show More
@@ -341,7 +341,8 class notifier(object): | |||
|
341 | 341 | maxdiff = int(self.ui.config('notify', 'maxdiff', 300)) |
|
342 | 342 | prev = ctx.p1().node() |
|
343 | 343 | ref = ref and ref.node() or ctx.node() |
|
344 |
chunks = patch.diff(self.repo, prev, ref, |
|
|
344 | chunks = patch.diff(self.repo, prev, ref, | |
|
345 | opts=patch.diffallopts(self.ui)) | |
|
345 | 346 | difflines = ''.join(chunks).splitlines() |
|
346 | 347 | |
|
347 | 348 | if self.ui.configbool('notify', 'diffstat', True): |
General Comments 0
You need to be logged in to leave comments.
Login now