b.r.p.RepositoryFormatPack(MetaDirVersionedFileRepositoryFormat) : class documentation

Part of bzrlib.repofmt.pack_repo View In Hierarchy

Known subclasses: bzrlib.repofmt.groupcompress_repo.RepositoryFormat2a, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack1, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack3, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack4, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack5, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack5RichRoot, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack5RichRootBroken, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack6, bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack6RichRoot, bzrlib.repofmt.knitpack_repo.RepositoryFormatPackDevelopment2Subtree

Format logic for pack structured repositories.

This repository format has:
  • a list of packs in pack-names
  • packs in packs/NAME.pack
  • indices in indices/NAME.{iix,six,tix,rix}
  • knit deltas in the packs, knit indices mapped to the indices.
  • thunk objects to support the knits programming API.
  • a format marker of its own
  • an optional 'shared-storage' flag
  • an optional 'no-working-trees' flag
  • a LockDir lock
Method initialize Create a pack based repository.
Method open See RepositoryFormat.open().

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
def initialize(self, a_bzrdir, shared=False):
Create a pack based 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 2022-06-16 00:25:16.