~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.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:
718
718
 
719
719
            if kind == 'directory' and directory != '':
720
720
                try:
721
 
                    transport = _mod_transport.get_transport(abspath)
 
721
                    transport = _mod_transport.get_transport_from_path(abspath)
722
722
                    controldir.ControlDirFormat.find_format(transport)
723
723
                    sub_tree = True
724
724
                except errors.NotBranchError: