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