~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

Move working tree initialisation out from  Branch.initialize, deprecated Branch.initialize to Branch.create.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
            return "a branch %s" % url
44
44
        branch.Branch.set_default_initializer(recorder)
45
45
        try:
46
 
            b = branch.Branch.initialize("memory:/")
 
46
            b = branch.Branch.create("memory:/")
47
47
            self.assertEqual("a branch memory:/", b)
48
48
        finally:
49
49
            branch.Branch.set_default_initializer(old_initializer)