~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/chroot.py

  • Committer: Robert Collins
  • Date: 2007-07-20 03:20:20 UTC
  • mfrom: (2592 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2635.
  • Revision ID: robertc@robertcollins.net-20070720032020-xiftpb5gqeebo861
(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