~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-19 22:34:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6089.
  • Revision ID: jelmer@samba.org-20110819223402-wjywqb0fa1xxx522
Use get_transport_from_{url,path} in more places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
985
985
        # local transports are not shared. But if/when we start using
986
986
        # LockableConfig for other kind of transports, we will need to reuse
987
987
        # whatever connection is already established -- vila 20100929
988
 
        self.transport = transport.get_transport(self.dir)
 
988
        self.transport = transport.get_transport_from_path(self.dir)
989
989
        self._lock = lockdir.LockDir(self.transport, self.lock_name)
990
990
 
991
991
    def _create_from_string(self, unicode_bytes, save):