~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/info.py

Remove all uses of compare_trees and replace with Tree.changes_from throughout bzrlib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
    branch = working.branch
172
172
    basis = working.basis_tree()
173
173
    work_inv = working.inventory
174
 
    delta = diff.compare_trees(basis, working, want_unchanged=True)
 
174
    delta = working.changes_from(basis, want_unchanged=True)
175
175
    history = branch.revision_history()
176
176
    tree_last_id = working.last_revision()
177
177
 
187
187
    """Show statistics about a working tree."""
188
188
    basis = working.basis_tree()
189
189
    work_inv = working.inventory
190
 
    delta = diff.compare_trees(basis, working, want_unchanged=True)
 
190
    delta = working.changes_from(basis, want_unchanged=True)
191
191
 
192
192
    print
193
193
    print 'In the working tree:'