~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-25 14:01:28 UTC
  • mfrom: (6039.1.9 transport-from-url)
  • Revision ID: pqm@pqm.ubuntu.com-20110725140128-croovh96z0rs57yy
(jelmer) Add get_transport_from_url and get_transport_from_path functions.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
                                       exclude_trailing_slash=False)
55
55
        if not filename:
56
56
            raise errors.NotABundle('A directory cannot be a bundle')
57
 
        return _mod_transport.get_transport(url)
 
57
        return _mod_transport.get_transport_from_url(url)
58
58
 
59
59
    try:
60
60
        bytef, transport = _mod_transport.do_catching_redirections(