~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

(robertc) Update all users of compare_trees to use Tree.changes_from.

Show diffs side-by-side

added added

removed removed

Lines of Context:
349
349
                old_tree = self.revision_tree(None)
350
350
            else:
351
351
                old_tree = trees[revision.parent_ids[0]]
352
 
            yield delta.compare_trees(old_tree, trees[revision.revision_id])
 
352
            yield trees[revision.revision_id].changes_from(old_tree)
353
353
 
354
354
    @needs_read_lock
355
355
    def get_revision_delta(self, revision_id):