/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/smart/request.py

  • Committer: Andrew Bennetts
  • Date: 2007-12-05 23:30:57 UTC
  • mto: This revision was merged to the branch mainline in revision 3320.
  • Revision ID: andrew.bennetts@canonical.com-20071205233057-jax12zpmd89n57ue
Improve test coverage by making SmartTCPServer_for_testing by default create a server that does not serve the backing transport's root at its own root.  This mirrors the way most HTTP smart servers are configured.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
            from the client.  Clients will not be able to refer to paths above
52
52
            this root.
53
53
        """
 
54
        rcp = root_client_path
54
55
        self._backing_transport = backing_transport
55
56
        if not root_client_path.startswith('/'):
56
57
            root_client_path = '/' + root_client_path