~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge with preview-changed

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
 
71
71
def _dirstate_tree_from_workingtree(testcase, tree):
72
 
    revid = tree.commit('save tree', allow_pointless=True)
 
72
    revid = tree.commit('save tree', allow_pointless=True, recursive=None)
73
73
    return tree.basis_tree()
74
74
 
75
75
 
349
349
            to be used as members of the TestCase.
350
350
        """
351
351
        if workingtree_format is None:
352
 
            workingtree_format = WorkingTreeFormat3()
 
352
            workingtree_format = WorkingTreeFormat._default_format
353
353
        scenario_options = WorkingTreeTestProviderAdapter.create_scenario(self,
354
354
            workingtree_format, workingtree_format._matchingbzrdir)[1]
355
355
        scenario_options["_workingtree_to_test_tree"] = converter