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