~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/remote.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:
291
291
        resp = self._call2('delete', self._remote_path(relpath))
292
292
        self._translate_error(resp)
293
293
 
 
294
    def external_url(self):
 
295
        """See bzrlib.transport.Transport.external_url."""
 
296
        # the external path for RemoteTransports is the base
 
297
        return self.base
 
298
 
294
299
    def readv(self, relpath, offsets):
295
300
        if not offsets:
296
301
            return