~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/serializer/v08.py

Merge Tree.changes_from work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
                                     )
28
28
from bzrlib.bundle.serializer import binary_diff
29
29
from bzrlib.bundle.bundle_data import (RevisionInfo, BundleInfo, BundleTree)
30
 
from bzrlib.delta import compare_trees
31
30
from bzrlib.diff import internal_diff
32
31
from bzrlib.osutils import pathjoin
33
32
from bzrlib.progress import DummyProgress
269
268
            else:
270
269
                action.write(self.to_file)
271
270
 
272
 
        delta = compare_trees(old_tree, new_tree, want_unchanged=True)
 
271
        delta = new_tree.changes_from(old_tree, want_unchanged=True)
273
272
        for path, file_id, kind in delta.removed:
274
273
            action = Action('removed', [kind, path]).write(self.to_file)
275
274