/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Ian Clatworthy
  • Date: 2007-09-18 07:14:35 UTC
  • mto: (2867.1.1 ianc-integration2)
  • mto: This revision was merged to the branch mainline in revision 2869.
  • Revision ID: ian.clatworthy@internode.on.net-20070918071435-cjetogmh16akg4v8
bzrdir.py code clean-ups

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)