~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Robert Collins
  • Date: 2008-04-09 00:34:54 UTC
  • mto: This revision was merged to the branch mainline in revision 3350.
  • Revision ID: robertc@robertcollins.net-20080409003454-x19fm1n0o2govzh6
 * ``VersionedFile.annotate_iter`` is deprecated. While in principal this
   allows lower memory use, all users of annotations wanted full file 
   annotations, and there is no storage format suitable for incremental
   line-by-line annotation. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
def _annotations(repo, file_id, rev_id):
114
114
    """Return the list of (origin,text) for a revision of a file in a repository."""
115
115
    w = repo.weave_store.get_weave(file_id, repo.get_transaction())
116
 
    return list(w.annotate_iter(rev_id))
 
116
    return w.annotate(rev_id)
117
117
 
118
118
 
119
119
def _annotate_file(branch, rev_id, file_id):