b.v.VersionedFileRootCommitBuilder(VersionedFileCommitBuilder) : class documentation

Part of bzrlib.vf_repository View In Hierarchy

Known subclasses: bzrlib.repofmt.pack_repo.PackRootCommitBuilder, bzrlib.tests.test_foreign.DummyForeignCommitBuilder

This commitbuilder actually records the root id
Method _check_root Helper for record_entry_contents.
Method _require_root_change Enforce an appropriate root object change.

Inherited from VersionedFileCommitBuilder:

Method __init__ Initiate a CommitBuilder.
Method will_record_deletes Tell the commit builder that deletes are being notified.
Method any_changes Return True if any entries were changed.
Method commit Make the actual commit.
Method abort Abort the commit that is being built.
Method revision_tree Return the tree that was just committed.
Method finish_inventory Tell the builder that the inventory is finished.
Method get_basis_delta Return the complete inventory delta versus the basis inventory.
Method record_delete Record that a delete occured against a basis tree.
Method record_entry_contents Record the content of ie from tree into the commit if needed.
Method record_iter_changes Record a new tree via iter_changes.
Method _ensure_fallback_inventories Ensure that appropriate inventories are available.
Method _get_delta Get a delta against the basis inventory for ie.
Method _heads Calculate the graph heads for revision_ids in the graph of file_id.
Method _add_text_to_weave Undocumented

Inherited from CommitBuilder (via VersionedFileCommitBuilder):

Method _validate_unicode_text Verify things like commit messages don't have bogus characters.
Method _validate_revprops Undocumented
Method _gen_revision_id Return new revision-id.
Method _generate_revision_if_needed Create a revision id if None was supplied.
def _check_root(self, ie, parent_invs, tree):
Helper for record_entry_contents.
ParametersieAn entry being added.
parent_invsThe inventories of the parent revisions of the commit.
treeThe tree that is being committed.
def _require_root_change(self, tree):
Enforce an appropriate root object change.

This is called once when record_iter_changes is called, if and only if the root was not in the delta calculated by record_iter_changes.

ParameterstreeThe tree which is being committed.
API Documentation for Bazaar, generated by pydoctor at 2020-08-04 00:50:18.