~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/tree_implementations/__init__.py

Merge with fix-transform

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
 
70
70
def _dirstate_tree_from_workingtree(testcase, tree):
71
 
    revid = tree.commit('save tree', allow_pointless=True)
 
71
    revid = tree.commit('save tree', allow_pointless=True, recursive=None)
72
72
    return tree.basis_tree()
73
73
 
74
74
 
335
335
            to be used as members of the TestCase.
336
336
        """
337
337
        if workingtree_format is None:
338
 
            workingtree_format = WorkingTreeFormat3()
 
338
            workingtree_format = WorkingTreeFormat._default_format
339
339
        scenario_options = WorkingTreeTestProviderAdapter.create_scenario(self,
340
340
            workingtree_format, workingtree_format._matchingbzrdir)[1]
341
341
        scenario_options["_workingtree_to_test_tree"] = converter