Show More
@@ -238,7 +238,7 b' class notifier(object):' | |||
|
238 | 238 | return |
|
239 | 239 | fp = templater.stringio() |
|
240 | 240 | prev = self.repo.changelog.parents(node)[0] |
|
241 |
patch.diff(self.repo, |
|
|
241 | patch.diff(self.repo, prev, ref, fp=fp) | |
|
242 | 242 | difflines = fp.getvalue().splitlines(1) |
|
243 | 243 | if maxdiff > 0 and len(difflines) > maxdiff: |
|
244 | 244 | self.sio.write(_('\ndiffs (truncated from %d to %d lines):\n\n') % |
General Comments 0
You need to be logged in to leave comments.
Login now