/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-18 22:07:42 UTC
  • mto: This revision was merged to the branch mainline in revision 4522.
  • Revision ID: john@arbash-meinel.com-20090618220742-10czy03gxzh337fl
Initial attempt at refactoring _KnitAnnotator to derive from Annotator.

So far it seems possible, by just overriding _get_needed_texts.
However, we'll also want to override the get_matching_blocks stuff based on the delta.

Show diffs side-by-side

added added

removed removed

Lines of Context:
444
444
        # If left and right agree on a range, just push that into the output
445
445
        lines_extend(annotated_lines[left_idx:left_idx + match_len])
446
446
    return lines
 
447
 
 
448
 
 
449
from bzrlib._annotator_py import Annotator