52
52
# the changes should have persisted to disk - reopen the workingtree
54
54
tree = tree.bzrdir.open_workingtree()
55
56
self.assertFalse(tree.has_id('a-id'))
56
57
self.assertFalse(tree.has_id('b-id'))
57
58
self.assertTrue(tree.has_id('c-id'))
58
59
self.assertTrue(tree.has_filename('a'))
59
60
self.assertTrue(tree.has_filename('b'))
60
61
self.assertTrue(tree.has_filename('c'))
62
64
def test_unversion_subtree(self):
63
65
"""Unversioning the root of a subtree unversions the entire subtree."""
64
66
tree = self.make_branch_and_tree('.')