63
65
return self.merge_message(content)
65
67
# Get a diff. XXX Is this hookable? I thought it was, can't find it
67
69
# right level: we want to identify the changed lines, not have the
69
71
# changed in new version of the file. So for now a direct diff
70
72
# using patiencediff is done.
73
74
needed = [(found_entry.file_id, found_entry.revision, 'new'),
74
75
(found_entry.file_id, old_revision, 'old')]
75
76
contents = self.commit.builder.repository.iter_files_bytes(needed)