~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-20 22:42:34 UTC
  • mfrom: (6083.1.2 more-get-transport-from)
  • Revision ID: pqm@pqm.ubuntu.com-20110820224234-l0c0cmesdnfp2srq
(jelmer) Use get_transport_from_path and get_transport_from_url in more
 places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1025
1025
        # local transports are not shared. But if/when we start using
1026
1026
        # LockableConfig for other kind of transports, we will need to reuse
1027
1027
        # whatever connection is already established -- vila 20100929
1028
 
        self.transport = transport.get_transport(self.dir)
 
1028
        self.transport = transport.get_transport_from_path(self.dir)
1029
1029
        self._lock = lockdir.LockDir(self.transport, self.lock_name)
1030
1030
 
1031
1031
    def _create_from_string(self, unicode_bytes, save):