~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: John Arbash Meinel
  • Date: 2006-12-14 20:57:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2186.
  • Revision ID: john@arbash-meinel.com-20061214205734-r0nwo7vatjoial1k
minor cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        print >>to_file, '%s| %s' % (anno, text)
82
82
        prevanno=anno
83
83
 
 
84
 
84
85
def _annotate_file(branch, rev_id, file_id ):
 
86
    """Yield the origins for each line of a file.
 
87
 
 
88
    This includes detailed information, such as the committer name, and
 
89
    date string for the commit, rather than just the revision id.
 
90
    """
85
91
 
86
92
    rh = branch.revision_history()
87
93
    revision_graph = branch.repository.get_revision_graph(rev_id)