b.b.BranchFormatMetadir(BranchFormat) : class documentation

Part of bzrlib.branch View In Hierarchy

Known subclasses: bzrlib.branch.BranchReferenceFormat, bzrlib.branch.BzrBranchFormat5, bzrlib.branch.BzrBranchFormat6, bzrlib.branch.BzrBranchFormat7, bzrlib.branch.BzrBranchFormat8

Common logic for meta-dir based branch formats.
Method network_name A simple byte string uniquely identifying this format for RPC calls.
Method open See BranchFormat.open().
Method supports_tags True if this format supports tags stored in the branch
Method supports_leaving_lock True if this format supports leaving locks in place.
Method _branch_class What class to instantiate on open calls.
Method _get_initial_config Undocumented
Method _initialize_helper Initialize a branch in a bzrdir, with specified files
Method _matchingbzrdir Undocumented

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_string Return the ASCII format string that identifies this format.
Method get_format_description Return the short format description for this format.
Method initialize Create a branch of this format in controldir.
Method is_supported Is this format supported?
Method make_tags Create a tags object for branch.
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.
Class Method unregister_format Undocumented
Method __str__ Undocumented
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 _branch_class(self):
What class to instantiate on open calls.
def _get_initial_config(self, append_revisions_only=None):
Undocumented
def _initialize_helper(self, a_bzrdir, utf8_files, name=None, repository=None):
Initialize a branch in a bzrdir, with specified files
Parametersa_bzrdirThe bzrdir to initialize the branch in
utf8_filesThe files to create as a list of (filename, content) tuples
nameName of colocated branch to create, if any
Returnsa branch in this format
def network_name(self):
A simple byte string uniquely identifying this format for RPC calls.

Metadir branch formats use their format string.

def open(self, a_bzrdir, name=None, _found=False, ignore_fallbacks=False, found_repository=None):
See BranchFormat.open().
@property
def _matchingbzrdir(self):
Undocumented
def supports_tags(self):
True if this format supports tags stored in the branch
def supports_leaving_lock(self):
True if this format supports leaving locks in place.
API Documentation for Bazaar, generated by pydoctor at 2014-10-31 00:01:21.