b.r.k.RepositoryFormatKnit(MetaDirVersionedFileRepositoryFormat) : class documentation

Part of bzrlib.repofmt.knitrepo View In Hierarchy

Known subclasses: bzrlib.repofmt.knitrepo.RepositoryFormatKnit1, bzrlib.repofmt.knitrepo.RepositoryFormatKnit3, bzrlib.repofmt.knitrepo.RepositoryFormatKnit4

Bzr repository knit format (generalized).

This repository format has:
  • knits for file texts and inventory
  • hash subdirectory based stores.
  • knits for revisions and signatures
  • TextStores for revisions and signatures.
  • a format marker of its own
  • an optional 'shared-storage' flag
  • an optional 'no-working-trees' flag
  • a LockDir lock
Method initialize Create a knit format 1 repository.
Method open See RepositoryFormat.open().
Method _serializer Undocumented
Method _get_inventories Undocumented
Method _get_revisions Undocumented
Method _get_signatures Undocumented
Method _get_texts Undocumented

Inherited from MetaDirRepositoryFormat (via MetaDirVersionedFileRepositoryFormat):

Method __init__ Undocumented
Method network_name Metadir formats have matching disk and network format strings.
Method _matchingbzrdir Undocumented
Method _create_control_files Create the required files and the initial control_files object.
Method _upload_blank_content Upload the initial blank content.

Inherited from RepositoryFormat (via MetaDirVersionedFileRepositoryFormat, MetaDirRepositoryFormat):

Method __repr__ Undocumented
Method __eq__ Undocumented
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 get_format_description Return the short description for 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

Inherited from RepositoryFormat (via MetaDirVersionedFileRepositoryFormat, VersionedFileRepositoryFormat):

Method __repr__ Undocumented
Method __eq__ Undocumented
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 get_format_description Return the short description for this format.
Method is_supported Is this format supported?
Method is_deprecated Is this format deprecated?
Method network_name A simple byte string uniquely identifying this format for RPC calls.
Method check_conversion_target Undocumented
Method _run_post_repo_init_hooks Undocumented
@property
def _serializer(self):
Undocumented
def _get_inventories(self, repo_transport, repo, name='inventory'):
Undocumented
def _get_revisions(self, repo_transport, repo):
Undocumented
def _get_signatures(self, repo_transport, repo):
Undocumented
def _get_texts(self, repo_transport, repo):
Undocumented
def initialize(self, a_bzrdir, shared=False):
Create a knit format 1 repository.
Parametersa_bzrdirbzrdir to contain the new repository; must already be initialized.
sharedIf true the repository will be initialized as a shared repository.
def open(self, a_bzrdir, _found=False, _override_transport=None):
See RepositoryFormat.open().
Parameters_override_transportINTERNAL USE ONLY. Allows opening the repository at a slightly different url than normal. I.e. during 'upgrade'.
API Documentation for Bazaar, generated by pydoctor at 2019-12-14 00:44:35.