~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
        """See BzrDirFormat.get_format_string()."""
202
202
        return "Sample .bzr dir format."
203
203
 
204
 
    def initialize(self, url, possible_transports=None):
 
204
    def initialize_on_transport(self, t):
205
205
        """Create a bzr dir."""
206
 
        t = get_transport(url, possible_transports)
207
206
        t.mkdir('.bzr')
208
207
        t.put_bytes('.bzr/branch-format', self.get_format_string())
209
208
        return SampleBzrDir(t, self)