168
168
def _annotations(repo, file_id, rev_id):
169
169
"""Return the list of (origin_revision_id, line_text) for a revision of a file in a repository."""
170
170
annotations = repo.texts.annotate((file_id, rev_id))
172
172
return [(key[-1], line) for (key, line) in annotations]