Part of bzrlib.smart.bzrdir View In Hierarchy
|Method||do||Create a branch in the bzr dir at path.|
Inherited from SmartServerRequestBzrDir:
|Method||_repo_relpath||Get the relative path for repository from current_transport.|
|Method||execute||Public entry point to execute this request.|
|Method||do_body||Called if the client sends a body with the request.|
|Method||do_chunk||Called with each body chunk if the request has a streamed body.|
|Method||do_end||Called when the end of the request has been received.|
|Method||translate_client_path||Translate a path received from a network client into a local|
|Method||transport_from_client_path||Get a backing transport corresponding to the location referred to by|
|Method||_check_enabled||Raises DisabledMethod if this method is disabled.|
This operates precisely like 'bzrdir.create_branch'.
If a bzrdir is not present, an exception is propogated rather than 'no branch' because these are different conditions (and this method should only be called after establishing that a bzr dir exists anyway).
This is the initial version of this method introduced to the smart server for 1.13.
|Parameters||path||The path to the bzrdir.|
|network_name||The network name of the branch type to create.|
|Returns||('ok', branch_format, repo_path, rich_root, tree_ref, external_lookup, repo_format)|