Rev 4739: _validate() the tree after running the root id tests. in http://bazaar.launchpad.net/~jameinel/bzr/2.0.4-dirstate-set-root-504390
John Arbash Meinel
john at arbash-meinel.com
Tue Jan 12 22:34:27 GMT 2010
At http://bazaar.launchpad.net/~jameinel/bzr/2.0.4-dirstate-set-root-504390
------------------------------------------------------------
revno: 4739
revision-id: john at arbash-meinel.com-20100112223403-ywaphr3k135wkfnh
parent: john at arbash-meinel.com-20100112223234-8qh3pcfnscw25p1y
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.0.4-dirstate-set-root-504390
timestamp: Tue 2010-01-12 16:34:03 -0600
message:
_validate() the tree after running the root id tests.
-------------- next part --------------
=== modified file 'bzrlib/tests/per_workingtree/test_set_root_id.py'
--- a/bzrlib/tests/per_workingtree/test_set_root_id.py 2010-01-12 20:25:27 +0000
+++ b/bzrlib/tests/per_workingtree/test_set_root_id.py 2010-01-12 22:34:03 +0000
@@ -48,6 +48,7 @@
# should still be retained
tree = tree.bzrdir.open_workingtree()
self.assertEqual(root_id, tree.get_root_id())
+ tree._validate()
def test_set_root_id(self):
tree = self.make_branch_and_tree('.')
@@ -62,3 +63,4 @@
self.assertEqual('custom-root-id', tree.path2id(''))
self.assertEqual('', tree.id2path('custom-root-id'))
self.assertRaises(errors.NoSuchId, tree.id2path, orig_root_id)
+ tree._validate()
More information about the bazaar-commits
mailing list