/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/test_revisiontree.py

Various changes to allow non-workingtree specific tests to run entirely
from MemoryTransports:
 * Create MemoryTree and pull up common code for it from WorkingTree to
   a new common base class MutableTree.
 * Add MutableTree.mkdir().
 * Add MutableTree.put_file_bytes_nonatomic().
 * New test helper make_branch_and_memory_tree().
(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            [self.rev_id],
48
48
            self.t.branch.repository.revision_tree(revid_2).get_parent_ids())
49
49
        # TODO commit a merge and check it is reported correctly.
 
50
 
 
51
        # the parents for a revision_tree(None) are []:
 
52
        self.assertEqual([],
 
53
            self.t.branch.repository.revision_tree(None).get_parent_ids())