~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: John Arbash Meinel
  • Date: 2008-02-18 22:18:45 UTC
  • mto: This revision was merged to the branch mainline in revision 3280.
  • Revision ID: john@arbash-meinel.com-20080218221845-60svhnjt6a4fy4r2
Clarify the format of 'matching_blocks'

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
        (will often be CURRENT_REVISION)
166
166
    :param left_matching_blocks: a hint about which areas are common
167
167
        between the text and its left-hand-parent.  The format is
168
 
        the SequenceMatcher.get_matching_blocks format.
 
168
        the SequenceMatcher.get_matching_blocks format
 
169
        (start_left, start_right, length_of_match).
169
170
    """
170
171
    if len(parents_lines) == 0:
171
172
        lines = [(new_revision_id, line) for line in new_lines]