~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Martin Pool
  • Date: 2008-06-18 07:56:09 UTC
  • mto: This revision was merged to the branch mainline in revision 3510.
  • Revision ID: mbp@sourcefrog.net-20080618075609-zehkroqkqufck2zb
VersionedFiles review cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
 
112
112
 
113
113
def _annotations(repo, file_id, rev_id):
114
 
    """Return the list of (origin,text) for a revision of a file in a repository."""
 
114
    """Return the list of (origin_revision_id, line_text) for a revision of a file in a repository."""
115
115
    annotations = repo.texts.annotate((file_id, rev_id))
116
 
    return [(key[-1], line) for key, line in annotations]
 
116
    # 
 
117
    return [(key[-1], line) for (key, line) in annotations]
117
118
 
118
119
 
119
120
def _annotate_file(branch, rev_id, file_id):