~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-07-23 16:33:38 UTC
  • mto: This revision was merged to the branch mainline in revision 6045.
  • Revision ID: jelmer@samba.org-20110723163338-mjox55g52kt3u922
Add get_transport_from_url and get_transport_from_path functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
    # TODO: This should be given a Transport, and should chdir up; otherwise
230
230
    # this will open a new connection.
231
231
    def _make_tail(self, url):
232
 
        t = _mod_transport.get_transport(url)
 
232
        t = _mod_transport.get_transport_from_url(url)
233
233
        t.ensure_base()
234
234
 
235
235
    @staticmethod