b.r.RemoteBzrDirFormat(_mod_bzrdir.BzrDirMetaFormat1) : class documentation

Part of bzrlib.remote View In Hierarchy

Format representing bzrdirs accessed via a smart server
Method __init__ Undocumented
Method __repr__ Undocumented
Method get_format_description See BzrDirFormat.get_format_description().
Method get_format_string See BzrDirFormat.get_format_string().
Method network_name A simple byte string uniquely identifying this format for RPC calls.
Method initialize_on_transport Initialize a new bzrdir in the base directory of a Transport.
Method parse_NoneTrueFalse Undocumented
Method initialize_on_transport_ex Create this format on transport.
Method __eq__ Undocumented
Method get_branch_format Undocumented
Method _serialize_NoneTrueFalse Undocumented
Method _serialize_NoneString Undocumented
Method _initialize_on_transport_ex_rpc Undocumented
Method _open See BzrDirFormat._open.
Method __return_repository_format Circular import protection.

Inherited from BzrDirMetaFormat1:

Method __ne__ Undocumented
Method set_branch_format Undocumented
Method require_stacking We have a request to stack, try to ensure the formats support it.
Method get_converter See BzrDirFormat.get_converter().
Method _set_repository_format Allow changing the repository format for metadir formats.
Method _supply_sub_formats_to Give other_format the same values for sub formats as this has.
Method __get_workingtree_format Undocumented
Method __set_workingtree_format Undocumented

Inherited from BzrDirFormat (via BzrDirMetaFormat1):

Method open Return an instance of this format for the dir transport points at.
Method supports_transport Check if this format can be opened over a particular transport.
Method _initialize_on_transport_vfs Initialize a new bzrdir using VFS calls.

Inherited from ControlDirFormat (via BzrDirMetaFormat1, BzrDirFormat):

Method is_supported Is this format supported?
Method is_initializable Whether new control directories of this format can be initialized.
Method check_support_status Give an error or warning on old formats.
Method same_model Undocumented
Class Method register_format Register a format that does not use '.bzr' for its control dir.
Class Method register_prober Register a prober that can look for a control dir.
Class Method unregister_prober Unregister a prober.
Class Method register_server_prober Register a control format prober for client-server environments.
Method __str__ Undocumented
Class Method known_formats Return all the known formats.
Class Method find_format Return the format present at transport.
Method initialize Create a control dir at this url and return an opened copy.
Class Method get_default_format Return the current default format.
Class Method _set_default_format Set default format (for testing behavior of defaults only)
def __init__(self):
Undocumented
def __repr__(self):
Undocumented
def get_format_description(self):
See BzrDirFormat.get_format_description().
def get_format_string(self):
See BzrDirFormat.get_format_string().
def network_name(self):
A simple byte string uniquely identifying this format for RPC calls.

Bzr control formats use this disk format string to identify the format over the wire. Its possible that other control formats have more complex detection requirements, so we permit them to use any unique and immutable string they desire.

def initialize_on_transport(self, transport):
Initialize a new bzrdir in the base directory of a Transport.
def parse_NoneTrueFalse(self, arg):
Undocumented
def _serialize_NoneTrueFalse(self, arg):
Undocumented
def _serialize_NoneString(self, arg):
Undocumented
def initialize_on_transport_ex(self, transport, use_existing_dir=False, create_prefix=False, force_new_repo=False, stacked_on=None, stack_on_pwd=None, repo_format_name=None, make_working_trees=None, shared_repo=False):
Create this format on transport.

The directory to initialize will be created.

Parametersforce_new_repoDo not use a shared repository for the target, even if one is available.
create_prefixCreate any missing directories leading up to to_transport.
use_existing_dirUse an existing directory if one exists.
stacked_onA url to stack any created branch on, None to follow any target stacking policy.
stack_on_pwdIf stack_on is relative, the location it is relative to.
repo_format_nameIf non-None, a repository will be made-or-found. Should none be found, or if force_new_repo is True the repo_format_name is used to select the format of repository to create.
make_working_treesControl the setting of make_working_trees for a new shared repository when one is made. None to use whatever default the format has.
shared_repoControl whether made repositories are shared or not.
vfs_onlyIf True do not attempt to use a smart server
Returnsrepo, bzrdir, require_stacking, repository_policy. repo is None if none was created or found, bzrdir is always valid. require_stacking is the result of examining the stacked_on parameter and any stacking policy found for the target.
def _initialize_on_transport_ex_rpc(self, client, path, transport, use_existing_dir, create_prefix, force_new_repo, stacked_on, stack_on_pwd, repo_format_name, make_working_trees, shared_repo):
Undocumented
def _open(self, transport):
See BzrDirFormat._open.
def __eq__(self, other):
Undocumented
def __return_repository_format(self):
Circular import protection.
def get_branch_format(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.