~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/chroot.py

Merge bzr.dev.

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