~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/chroot.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-20 03:55:45 UTC
  • mfrom: (2634.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070720035545-uh4yjypen2ux6z8s
(robertc) Reinstate the accidentally backed out external_url patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
    def delete_tree(self, relpath):
99
99
        return self._call('delete_tree', relpath)
100
100
 
 
101
    def external_url(self):
 
102
        """See bzrlib.transport.Transport.external_url."""
 
103
        # Chroots, like MemoryTransport depend on in-process
 
104
        # state and thus the base cannot simply be handed out.
 
105
        # See the base class docstring for more details and
 
106
        # possible directions. For now we return the chrooted
 
107
        # url. 
 
108
        return self.server.backing_transport.external_url()
 
109
 
101
110
    def get(self, relpath):
102
111
        return self._call('get', relpath)
103
112