/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_unversion.py

Merge in commit test case for deletion-heuristic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        self.assertTrue(tree.has_filename('b'))
50
50
        self.assertTrue(tree.has_filename('c'))
51
51
        tree.unlock()
52
 
        # after the unlock, the files should still be unversioned.
 
52
        # the changes should have persisted to disk - reopen the workingtree
 
53
        # to be sure.
 
54
        tree = tree.bzrdir.open_workingtree()
53
55
        self.assertFalse(tree.has_id('a-id'))
54
56
        self.assertFalse(tree.has_id('b-id'))
55
57
        self.assertTrue(tree.has_id('c-id'))