b.r.RemoteRepositoryFormat(vf_repository.VersionedFileRepositoryFormat) : class documentation

Part of bzrlib.remote View In Hierarchy

Format for repositories accessed over a _SmartClient.

Instances of this repository are represented by RemoteRepository instances.

The RemoteRepositoryFormat is parameterized during construction to reflect the capabilities of the real, remote format. Specifically the attributes rich_root_data and supports_tree_reference are set on a per instance basis, and are not set (and should not be) at the class level.

Instance Variables_custom_formatIf set, a specific concrete repository format that will be used when initializing a repository with this RemoteRepositoryFormat.
_creating_repoIf set, the repository object that this RemoteRepositoryFormat was created for: it can be called into to obtain data like the network name.
Method __init__ Undocumented
Method __repr__ Undocumented
Method fast_deltas Undocumented
Method rich_root_data Undocumented
Method supports_chks Undocumented
Method supports_external_lookups Undocumented
Method supports_funky_characters Undocumented
Method supports_nesting_repositories Undocumented
Method supports_tree_reference Undocumented
Method revision_graph_can_have_wrong_parents Undocumented
Method initialize Initialize a repository of this format in controldir.
Method open Return an instance of this format for a controldir.
Method get_format_description Return the short description for this format.
Method __eq__ Undocumented
Method network_name A simple byte string uniquely identifying this format for RPC calls.
Method pack_compresses Undocumented
Method _vfs_initialize Helper for common code in initialize.
Method _ensure_real Undocumented
Method _fetch_order Undocumented
Method _fetch_uses_deltas Undocumented
Method _fetch_reconcile Undocumented
Method _serializer Undocumented

Inherited from RepositoryFormat (via VersionedFileRepositoryFormat):

Method __ne__ Undocumented
Class Method find_format Return the format for the repository object in a_bzrdir.
Class Method register_format Undocumented
Class Method unregister_format Undocumented
Class Method get_default_format Return the current default format.
Method get_format_string Return the ASCII format string that identifies this format.
Method is_supported Is this format supported?
Method is_deprecated Is this format deprecated?
Method check_conversion_target Undocumented
Method _run_post_repo_init_hooks Undocumented
def __init__(self):
Undocumented
def __repr__(self):
Undocumented
@property
def fast_deltas(self):
Undocumented
@property
def rich_root_data(self):
Undocumented
@property
def supports_chks(self):
Undocumented
@property
def supports_external_lookups(self):
Undocumented
@property
def supports_funky_characters(self):
Undocumented
@property
def supports_nesting_repositories(self):
Undocumented
@property
def supports_tree_reference(self):
Undocumented
@property
def revision_graph_can_have_wrong_parents(self):
Undocumented
def _vfs_initialize(self, a_bzrdir, shared):
Helper for common code in initialize.
def initialize(self, a_bzrdir, shared=False):
Initialize a repository of this format in controldir.

This may raise UninitializableFormat if shared repository are not compatible the controldir.

ParameterscontroldirThe controldir to put the new repository in it.
sharedThe repository should be initialized as a sharable one.
ReturnsThe new repository object.
def open(self, a_bzrdir):
Return an instance of this format for a controldir.

_found is a private parameter, do not use it.

def _ensure_real(self):
Undocumented
@property
def _fetch_order(self):
Undocumented
@property
def _fetch_uses_deltas(self):
Undocumented
@property
def _fetch_reconcile(self):
Undocumented
def get_format_description(self):
Return the short description for this format.
def __eq__(self, other):
Undocumented
def network_name(self):
A simple byte string uniquely identifying this format for RPC calls.

MetaDir repository formats use their disk format string to identify the repository over the wire. All in one formats such as bzr < 0.8, and foreign formats like svn/git and hg should use some marker which is unique and immutable.

@property
def pack_compresses(self):
Undocumented
@property
def _serializer(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.