~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2008-06-25 10:06:48 UTC
  • mfrom: (3509 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3510.
  • Revision ID: mbp@sourcefrog.net-20080625100648-ac20jxcm3ojucuby
merge trunk; remove RemoteToOtherFetcher

Show diffs side-by-side

added added

removed removed

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