~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-05 22:42:07 UTC
  • mfrom: (2586.1.4 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070705224207-7pslqt12ofh4vnzx
(robertc) New method external_url on Transport for obtaining the url to hand to external processes. Include the external_url for the backing_transport of SmartServer in the server_started and stopped hooks. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
393
393
        except (IOError, OSError),e:
394
394
            self._translate_error(e, path)
395
395
 
 
396
    def external_url(self):
 
397
        """See bzrlib.transport.Transport.external_url."""
 
398
        # File URL's are externally usable.
 
399
        return self.base
 
400
 
396
401
    def copy_to(self, relpaths, other, mode=None, pb=None):
397
402
        """Copy a set of entries from self into another Transport.
398
403