/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.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:
439
439
        """Delete the item at relpath"""
440
440
        raise errors.TransportNotPossible('http does not support delete()')
441
441
 
 
442
    def external_url(self):
 
443
        """See bzrlib.transport.Transport.external_url."""
 
444
        # HTTP URL's are externally usable.
 
445
        return self.base
 
446
 
442
447
    def is_readonly(self):
443
448
        """See Transport.is_readonly."""
444
449
        return True