b.t.t.SampleSupportedBranchFormat(_mod_branch.BranchFormat) : class documentation

Part of bzrlib.tests.test_branch View In Hierarchy

A sample supported format.
Method get_format_string See BzrBranchFormat.get_format_string().
Method initialize Create a branch of this format in controldir.
Method open Return the branch object for controldir.

Inherited from BranchFormat:

Method __eq__ Undocumented
Method __ne__ Undocumented
Class Method find_format Return the format for the branch object in controldir.
Class Method get_default_format Return the current default format.
Class Method get_formats Get all the known formats.
Method get_reference Get the target reference of the branch in controldir.
Class Method set_reference Set the target reference of the branch in controldir.
Method get_format_description Return the short format description for this format.
Method is_supported Is this format supported?
Method make_tags Create a tags object for branch.
Method network_name A simple byte string uniquely identifying this format for RPC calls.
Class Method register_format Register a metadir format.
Class Method set_default_format Undocumented
Method supports_set_append_revisions_only True if this format supports set_append_revisions_only.
Method supports_stacking True if this format records a stacked-on branch.
Method supports_leaving_lock True if this format supports leaving locks in place.
Class Method unregister_format Undocumented
Method __str__ Undocumented
Method supports_tags True if this format supports tags stored in the branch
Method tags_are_versioned Whether the tag container for this branch versions tags.
Method supports_tags_referencing_ghosts True if tags can reference ghost revisions.
Method _run_post_branch_init_hooks Undocumented

Inherited from ControlComponentFormat (via BranchFormat):

Method check_support_status Give an error or warning on old formats.
def get_format_string(self):
See BzrBranchFormat.get_format_string().
def initialize(self, a_bzrdir, name=None, append_revisions_only=None):
Create a branch of this format in controldir.
ParametersnameName of the colocated branch to create.
def open(self, transport, name=None, _found=False, ignore_fallbacks=False):
Return the branch object for controldir.
ParameterscontroldirA ControlDir that contains a branch.
nameName of colocated branch to open
_founda private parameter, do not use it. It is used to indicate if format probing has already be done.
ignore_fallbackswhen set, no fallback branches will be opened (if there are any). Default is to open fallbacks.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.