~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Robert Collins
  • Date: 2007-10-03 06:37:01 UTC
  • mfrom: (2871.1.4 commit-builder)
  • mto: This revision was merged to the branch mainline in revision 2933.
  • Revision ID: robertc@robertcollins.net-20071003063701-goxzcxccmwdukl6w
Merge bzr.dev (untested).

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)