~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp.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:
489
489
            self._translate_perm_error(e, abspath, 'error deleting',
490
490
                unknown_exc=errors.NoSuchFile)
491
491
 
 
492
    def external_url(self):
 
493
        """See bzrlib.transport.Transport.external_url."""
 
494
        # FTP URL's are externally usable.
 
495
        return self.base
 
496
 
492
497
    def listable(self):
493
498
        """See Transport.listable."""
494
499
        return True