25
25
from bzrlib.smart import protocol, medium
26
26
from bzrlib.transport import chroot, get_transport
27
27
from bzrlib.urlutils import local_path_to_url
30
30
def make_app(root, prefix, path_var='REQUEST_URI', readonly=True,
31
31
load_plugins=True, enable_logging=True):
32
32
"""Convenience function to construct a WSGI bzr smart server.
34
34
:param root: a local path that requests will be relative to.
35
35
:param prefix: See RelpathSetter.
36
36
:param path_var: See RelpathSetter.