/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/transform.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-06 21:22:45 UTC
  • mto: This revision was merged to the branch mainline in revision 4522.
  • Revision ID: john@arbash-meinel.com-20090706212245-eeh0xp8izenxb8aq
Some comments about the PreviewTree.annotate_iter implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1962
1962
            return old_annotation
1963
1963
        if not changed_content:
1964
1964
            return old_annotation
 
1965
        # TODO: This is doing something similar to what WT.annotate_iter is
 
1966
        #       doing, however it fails slightly because it doesn't know what
 
1967
        #       the *other* revision_id is, so it doesn't know how to give the
 
1968
        #       other as the origin for some lines, they all get
 
1969
        #       'default_revision'
 
1970
        #       It would be nice to be able to use the new Annotator based
 
1971
        #       approach, as well.
1965
1972
        return annotate.reannotate([old_annotation],
1966
1973
                                   self.get_file(file_id).readlines(),
1967
1974
                                   default_revision)