/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: Canonical.com Patch Queue Manager
  • Date: 2007-09-26 04:49:43 UTC
  • mfrom: (2867.1.1 ianc-integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20070926044943-flj37wmwhmd0l3f1
code clean-ups for bzrdir.py (Ian Clatworthy)

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)