Rev 2443: Set common root id in comparison tests in file:///home/mbp/bzr/Work/subtree/

Martin Pool mbp at sourcefrog.net
Mon Mar 5 06:11:45 GMT 2007


------------------------------------------------------------
revno: 2443
revision-id: mbp at sourcefrog.net-20070305061143-feioqg2poiixysp6
parent: mbp at sourcefrog.net-20070305060734-xq5zyucm5puufr6z
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: subtree
timestamp: Mon 2007-03-05 17:11:43 +1100
message:
  Set common root id in comparison tests
modified:
  bzrlib/tests/intertree_implementations/test_compare.py test_compare.py-20060724101752-09ysswo1a92uqyoz-2
=== modified file 'bzrlib/tests/intertree_implementations/test_compare.py'
--- a/bzrlib/tests/intertree_implementations/test_compare.py	2007-03-05 06:07:34 +0000
+++ b/bzrlib/tests/intertree_implementations/test_compare.py	2007-03-05 06:11:43 +0000
@@ -864,6 +864,7 @@
     def test_unversioned_subtree_only_emits_root(self):
         tree1 = self.make_branch_and_tree('tree1')
         tree2 = self.make_to_branch_and_tree('tree2')
+        tree2.set_root_id(tree1.get_root_id())
         self.build_tree(['tree2/dir/', 'tree2/dir/file'])
         tree1, tree2 = self.mutable_trees_to_test_trees(tree1, tree2)
         expected = [




More information about the bazaar-commits mailing list