Rev 2461: Remove duplicate test_unique_root_id_per_tree in file:///home/mbp/bzr/subtree/
Martin Pool
mbp at sourcefrog.net
Tue Mar 6 03:57:59 GMT 2007
------------------------------------------------------------
revno: 2461
revision-id: mbp at sourcefrog.net-20070306035757-8633p96f76gzzgg5
parent: mbp at sourcefrog.net-20070306033644-x3nw3eqytkbuig9q
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: subtree
timestamp: Tue 2007-03-06 14:57:57 +1100
message:
Remove duplicate test_unique_root_id_per_tree
modified:
BRANCH.TODO BRANCH.TODO-20060103052123-79ac4969351c03a9
bzrlib/tests/test_workingtree_4.py test_workingtree_4.p-20070223025758-531n3tznl3zacv2o-1
=== modified file 'BRANCH.TODO'
--- a/BRANCH.TODO 2007-03-06 01:27:22 +0000
+++ b/BRANCH.TODO 2007-03-06 03:57:57 +0000
@@ -1,6 +1,9 @@
# This file is for listing TODOs for branches that are being worked on.
# It should ALWAYS be empty in the mainline or in integration branches.
#
+#
+
+get_reference_revision should not take an InventoryEntry
notice subtrees based on whether they actually have a control directory, not
how they're recorded in the working inventory
=== modified file 'bzrlib/tests/test_workingtree_4.py'
--- a/bzrlib/tests/test_workingtree_4.py 2007-03-06 01:37:13 +0000
+++ b/bzrlib/tests/test_workingtree_4.py 2007-03-06 03:57:57 +0000
@@ -447,17 +447,6 @@
tree3 = tree1.bzrdir.sprout('tree3').open_workingtree()
self.assertEqual(tree3.get_root_id(), tree1.get_root_id())
- def test_unique_root_id_per_tree(self):
- # each time you initialize a new tree, it gets a different root id
- ## format_name = 'experimental-reference-dirstate'
- tree1 = self.make_branch_and_tree('tree1')
- tree2 = self.make_branch_and_tree('tree2')
- self.assertNotEqual(tree1.get_root_id(), tree2.get_root_id())
- # when you branch, it inherits the same root id
- rev1 = tree1.commit('first post')
- tree3 = tree1.bzrdir.sprout('tree3').open_workingtree()
- self.assertEqual(tree3.get_root_id(), tree1.get_root_id())
-
def test_set_root_id(self):
# similar to some code that fails in the dirstate-plus-subtree branch
# -- setting the root id while adding a parent seems to scramble the
More information about the bazaar-commits
mailing list