/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 breezy/tests/test_bundle.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-09 17:10:01 UTC
  • mto: This revision was merged to the branch mainline in revision 7489.
  • Revision ID: jelmer@jelmer.uk-20200209171001-0h0snwtiu51f1sjf
Remove the InterTree object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    features,
44
44
    test_commit,
45
45
    )
46
 
from ..tree import find_previous_path
 
46
from ..tree import InterTree
47
47
 
48
48
 
49
49
def get_text(vf, key):
562
562
 
563
563
        for path, status, kind, entry in base_files:
564
564
            # Check that the meta information is the same
565
 
            to_path = find_previous_path(base_tree, to_tree, path)
 
565
            to_path = InterTree.get(base_tree, to_tree).find_target_path(path)
566
566
            self.assertEqual(
567
567
                base_tree.get_file_size(path),
568
568
                to_tree.get_file_size(to_path))