~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/intertree_implementations/test_compare.py

Set common root id in comparison tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
864
864
    def test_unversioned_subtree_only_emits_root(self):
865
865
        tree1 = self.make_branch_and_tree('tree1')
866
866
        tree2 = self.make_to_branch_and_tree('tree2')
 
867
        tree2.set_root_id(tree1.get_root_id())
867
868
        self.build_tree(['tree2/dir/', 'tree2/dir/file'])
868
869
        tree1, tree2 = self.mutable_trees_to_test_trees(tree1, tree2)
869
870
        expected = [