Class | SmartTCPServer | Listens on a TCP socket and accepts connections from smart clients. |
Class | SmartServerHooks | Hooks for the smart server. |
Class | BzrServerFactory | Helper class for serve_bzr. |
Function | serve_bzr | This is the default implementation of 'bzr serve'. |
Function | _local_path_for_transport | Return a local path for transport, if reasonably possible. |
This function works even if transport's url has a "readonly+" prefix, unlike local_path_from_url.
This essentially recovers the --directory argument the user passed to "bzr serve" from the transport passed to serve_bzr.