~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/server.py

Add a Transport.is_readonly remote call, let {Branch,Repository}.lock_write remote call return UnlockableTransport, and miscellaneous test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
        """Get a backing transport from a server we are decorating."""
144
144
        url = 'chroot+readonly+' + backing_transport_server.get_url()
145
145
        return transport.get_transport(url)
 
146