~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.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:
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: