b.b.b.BundleInfo(object) : class documentation

Part of bzrlib.bundle.bundle_data View In Hierarchy

Known subclasses: bzrlib.bundle.serializer.v08.BundleInfo08, bzrlib.bundle.serializer.v09.BundleInfo09

This contains the meta information. Stuff that allows you to recreate the revision or inventory XML.
Method __init__ Undocumented
Method __str__ Undocumented
Method complete_info This makes sure that all information is properly
Method get_base Undocumented
Method get_revision Undocumented
Method get_revision_info Undocumented
Method revision_tree Undocumented
Method install_revisions Install revisions and return the target revision
Method get_merge_request Provide data for performing a merge
Method _get_target Return the target revision.
Method _validate_references_from_repository Now that we have a repository which should have some of the
Method _validate_inventory At this point we should have generated the BundleTree,
Method _validate_revision Make sure all revision entries match their checksum.
Method _update_tree This fills out a BundleTree based on the information
def __init__(self, bundle_format=None):
Undocumented
def __str__(self):
Undocumented
def complete_info(self):
This makes sure that all information is properly split up, based on the assumptions that can be made when information is missing.
def get_base(self, revision):
Undocumented
def _get_target(self):
Return the target revision.
def get_revision(self, revision_id):
Undocumented
def get_revision_info(self, revision_id):
Undocumented
def revision_tree(self, repository, revision_id, base=None):
Undocumented
def _validate_references_from_repository(self, repository):
Now that we have a repository which should have some of the revisions we care about, go through and validate all of them that we can.
def _validate_inventory(self, inv, revision_id):
At this point we should have generated the BundleTree, so build up an inventory, and make sure the hashes match.
def _validate_revision(self, tree, revision_id):
Make sure all revision entries match their checksum.
def _update_tree(self, bundle_tree, revision_id):
This fills out a BundleTree based on the information that was read in.
Parametersbundle_treeA BundleTree to update with the new information.
def install_revisions(self, target_repo, stream_input=True):
Install revisions and return the target revision
Parameterstarget_repoThe repository to install into
stream_inputIgnored by this implementation.
def get_merge_request(self, target_repo):
Provide data for performing a merge

Returns suggested base, suggested target, and patch verification status

API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.