b.t.p.t.TestCommitBuilder(per_repository.TestCaseWithRepository) : class documentation

Part of bzrlib.tests.per_repository.test_commit_builder View In Hierarchy

No class docstring
Method test_get_commit_builder Undocumented
Method record_root Undocumented
Method test_finish_inventory_with_record_root Undocumented
Method test_finish_inventory_record_iter_changes Undocumented
Method test_abort_record_entry_contents Undocumented
Method test_abort_record_iter_changes Undocumented
Method test_commit_lossy Undocumented
Method test_commit_message Undocumented
Method test_commit_with_revision_id_record_entry_contents Undocumented
Method test_commit_with_revision_id_record_iter_changes Undocumented
Method test_commit_without_root_errors Undocumented
Method test_commit_without_root_or_record_iter_changes_errors Undocumented
Method test_commit_unchanged_root_record_entry_contents Undocumented
Method test_commit_unchanged_root_record_iter_changes Undocumented
Method test_commit_record_entry_contents Undocumented
Method test_get_basis_delta Undocumented
Method test_get_basis_delta_without_notification Undocumented
Method test_record_delete Undocumented
Method test_record_delete_record_iter_changes Undocumented
Method test_record_delete_without_notification Undocumented
Method test_revision_tree_record_entry_contents Undocumented
Method test_revision_tree_record_iter_changes Undocumented
Method test_root_entry_has_revision Undocumented
Method test_last_modified_revision_after_commit_root_unchanged Undocumented
Method test_last_modified_revision_after_commit_dir_unchanged Undocumented
Method test_last_modified_revision_after_commit_dir_unchanged_ric Undocumented
Method test_last_modified_revision_after_commit_dir_contents_unchanged Undocumented
Method test_last_modified_revision_after_commit_file_unchanged Undocumented
Method test_last_modified_revision_after_commit_file_unchanged_ric Undocumented
Method test_last_modified_revision_after_commit_link_unchanged Undocumented
Method test_last_modified_revision_after_commit_link_unchanged_ric Undocumented
Method test_last_modified_revision_after_commit_reference_unchanged Undocumented
Method test_last_modified_revision_after_commit_reference_unchanged_ric Undocumented
Method test_last_modified_revision_after_rename_dir_changes Undocumented
Method test_last_modified_revision_after_rename_dir_changes_ric Undocumented
Method test_last_modified_revision_after_rename_file_changes Undocumented
Method test_last_modified_revision_after_rename_file_changes_ric Undocumented
Method test_last_modified_revision_after_rename_link_changes Undocumented
Method test_last_modified_revision_after_rename_link_changes_ric Undocumented
Method test_last_modified_revision_after_rename_ref_changes Undocumented
Method test_last_modified_revision_after_rename_ref_changes_ric Undocumented
Method test_last_modified_revision_after_reparent_dir_changes Undocumented
Method test_last_modified_revision_after_reparent_dir_changes_ric Undocumented
Method test_last_modified_revision_after_reparent_file_changes Undocumented
Method test_last_modified_revision_after_reparent_file_changes_ric Undocumented
Method test_last_modified_revision_after_reparent_link_changes Undocumented
Method test_last_modified_revision_after_reparent_link_changes_ric Undocumented
Method mini_commit Perform a miniature commit looking for record entry results.
Method mini_commit_record_iter_changes Perform a miniature commit looking for record entry results.
Method assertFileGraph Undocumented
Method test_last_modified_revision_after_content_file_changes Undocumented
Method test_last_modified_revision_after_content_file_changes_ric Undocumented
Method test_last_modified_revision_after_content_link_changes Undocumented
Method test_last_modified_rev_after_content_link_changes_ric Undocumented
Method test_last_modified_rev_after_content_unicode_link_changes_ric Undocumented
Method test_last_modified_revision_after_merge_dir_changes Undocumented
Method test_last_modified_revision_after_merge_dir_changes_ric Undocumented
Method test_last_modified_revision_after_merge_file_changes Undocumented
Method test_last_modified_revision_after_merge_file_changes_ric Undocumented
Method test_last_modified_revision_after_merge_link_changes Undocumented
Method test_last_modified_revision_after_merge_link_changes_ric Undocumented
Method test_last_modified_revision_after_converged_merge_dir_unchanged Undocumented
Method test_last_modified_revision_after_converged_merge_dir_unchanged_ric Undocumented
Method test_last_modified_revision_after_converged_merge_file_unchanged Undocumented
Method test_last_modified_revision_after_converged_merge_file_unchanged_ric Undocumented
Method test_last_modified_revision_after_converged_merge_link_unchanged Undocumented
Method test_last_modified_revision_after_converged_merge_link_unchanged_ric Undocumented
Method test_last_modified_revision_after_merge_new_dir_unchanged Undocumented
Method test_last_modified_revision_after_merge_new_dir_unchanged_ric Undocumented
Method test_last_modified_revision_after_merge_new_file_unchanged Undocumented
Method test_last_modified_revision_after_merge_new_file_unchanged_ric Undocumented
Method test_last_modified_revision_after_merge_new_link_unchanged Undocumented
Method test_last_modified_revision_after_merge_new_link_unchanged_ric Undocumented
Method make_dir Undocumented
Method make_file Undocumented
Method make_link Undocumented
Method make_reference Undocumented
Method test_last_modified_dir_file Undocumented
Method test_last_modified_dir_file_ric Undocumented
Method test_last_modified_dir_link Undocumented
Method test_last_modified_dir_link_ric Undocumented
Method test_last_modified_link_file Undocumented
Method test_last_modified_link_file_ric Undocumented
Method test_last_modified_link_dir Undocumented
Method test_last_modified_link_dir_ric Undocumented
Method test_last_modified_file_dir Undocumented
Method test_last_modified_file_dir_ric Undocumented
Method test_last_modified_file_link Undocumented
Method test_last_modified_file_link_ric Undocumented
Method test_get_commit_builder_with_invalid_revprops Undocumented
Method test_commit_builder_commit_with_invalid_message Undocumented
Method test_non_ascii_str_committer_rejected Ensure an error is raised on a non-ascii byte string committer
Method test_stacked_repositories_reject_commit_builder Undocumented
Method test_committer_no_username Undocumented
Method _get_revtrees Undocumented
Method _add_commit_check_unchanged Undocumented
Method _commit_check_unchanged Undocumented
Method _add_commit_renamed_check_changed Undocumented
Method _commit_renamed_check_changed Undocumented
Method _add_commit_reparent_check_changed Undocumented
Method _add_commit_change_check_changed Undocumented
Method _commit_change_check_changed Undocumented
Method _test_last_mod_rev_after_content_link_changes_ric Undocumented
Method _commit_sprout Undocumented
Method _rename_in_tree Undocumented
Method _commit_sprout_rename_merge Do a rename in both trees.
Method _commit_sprout_rename_merge_converged Undocumented
Method _commit_sprout_make_merge Undocumented
Method _check_kind_change Undocumented

Inherited from TestCaseWithRepository:

Method get_default_format Undocumented
Method make_repository Undocumented
def test_get_commit_builder(self):
Undocumented
def record_root(self, builder, tree):
Undocumented
def test_finish_inventory_with_record_root(self):
Undocumented
def test_finish_inventory_record_iter_changes(self):
Undocumented
def test_abort_record_entry_contents(self):
Undocumented
def test_abort_record_iter_changes(self):
Undocumented
def test_commit_lossy(self):
Undocumented
def test_commit_message(self):
Undocumented
def test_commit_with_revision_id_record_entry_contents(self):
Undocumented
def test_commit_with_revision_id_record_iter_changes(self):
Undocumented
def test_commit_without_root_errors(self):
Undocumented
def test_commit_without_root_or_record_iter_changes_errors(self):
Undocumented
def test_commit_unchanged_root_record_entry_contents(self):
Undocumented
def test_commit_unchanged_root_record_iter_changes(self):
Undocumented
def test_commit_record_entry_contents(self):
Undocumented
def test_get_basis_delta(self):
Undocumented
def test_get_basis_delta_without_notification(self):
Undocumented
def test_record_delete(self):
Undocumented
def test_record_delete_record_iter_changes(self):
Undocumented
def test_record_delete_without_notification(self):
Undocumented
def test_revision_tree_record_entry_contents(self):
Undocumented
def test_revision_tree_record_iter_changes(self):
Undocumented
def test_root_entry_has_revision(self):
Undocumented
def _get_revtrees(self, tree, revision_ids):
Undocumented
def test_last_modified_revision_after_commit_root_unchanged(self):
Undocumented
def _add_commit_check_unchanged(self, tree, name, mini_commit=None):
Undocumented
def _commit_check_unchanged(self, tree, name, file_id, mini_commit=None):
Undocumented
def test_last_modified_revision_after_commit_dir_unchanged(self):
Undocumented
def test_last_modified_revision_after_commit_dir_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_commit_dir_contents_unchanged(self):
Undocumented
def test_last_modified_revision_after_commit_file_unchanged(self):
Undocumented
def test_last_modified_revision_after_commit_file_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_commit_link_unchanged(self):
Undocumented
def test_last_modified_revision_after_commit_link_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_commit_reference_unchanged(self):
Undocumented
def test_last_modified_revision_after_commit_reference_unchanged_ric(self):
Undocumented
def _add_commit_renamed_check_changed(self, tree, name, expect_fs_hash=False, mini_commit=None):
Undocumented
def _commit_renamed_check_changed(self, tree, name, file_id, expect_fs_hash=False, mini_commit=None):
Undocumented
def test_last_modified_revision_after_rename_dir_changes(self):
Undocumented
def test_last_modified_revision_after_rename_dir_changes_ric(self):
Undocumented
def test_last_modified_revision_after_rename_file_changes(self):
Undocumented
def test_last_modified_revision_after_rename_file_changes_ric(self):
Undocumented
def test_last_modified_revision_after_rename_link_changes(self):
Undocumented
def test_last_modified_revision_after_rename_link_changes_ric(self):
Undocumented
def test_last_modified_revision_after_rename_ref_changes(self):
Undocumented
def test_last_modified_revision_after_rename_ref_changes_ric(self):
Undocumented
def _add_commit_reparent_check_changed(self, tree, name, expect_fs_hash=False, mini_commit=None):
Undocumented
def test_last_modified_revision_after_reparent_dir_changes(self):
Undocumented
def test_last_modified_revision_after_reparent_dir_changes_ric(self):
Undocumented
def test_last_modified_revision_after_reparent_file_changes(self):
Undocumented
def test_last_modified_revision_after_reparent_file_changes_ric(self):
Undocumented
def test_last_modified_revision_after_reparent_link_changes(self):
Undocumented
def test_last_modified_revision_after_reparent_link_changes_ric(self):
Undocumented
def _add_commit_change_check_changed(self, tree, name, changer, expect_fs_hash=False, mini_commit=None, file_id=None):
Undocumented
def _commit_change_check_changed(self, tree, name, file_id, changer, expect_fs_hash=False, mini_commit=None):
Undocumented
def mini_commit(self, tree, name, new_name, records_version=True, delta_against_basis=True, expect_fs_hash=False):
Perform a miniature commit looking for record entry results.
ParameterstreeThe tree to commit.
nameThe path in the basis tree of the tree being committed.
new_nameThe path in the tree being committed.
records_versionTrue if the commit of new_name is expected to record a new version.
delta_against_basisTrue of the commit of new_name is expected to have a delta against the basis.
expect_fs_hashTrue or false to indicate whether we expect a file hash to be returned from the record_entry_contents call.
def mini_commit_record_iter_changes(self, tree, name, new_name, records_version=True, delta_against_basis=True, expect_fs_hash=False):
Perform a miniature commit looking for record entry results.

This version uses the record_iter_changes interface.

ParameterstreeThe tree to commit.
nameThe path in the basis tree of the tree being committed.
new_nameThe path in the tree being committed.
records_versionTrue if the commit of new_name is expected to record a new version.
delta_against_basisTrue of the commit of new_name is expected to have a delta against the basis.
expect_fs_hashIf true, looks for a fs hash output from record_iter_changes.
def assertFileGraph(self, expected_graph, tree, tip):
Undocumented
def test_last_modified_revision_after_content_file_changes(self):
Undocumented
def test_last_modified_revision_after_content_file_changes_ric(self):
Undocumented
def test_last_modified_revision_after_content_link_changes(self):
Undocumented
def _test_last_mod_rev_after_content_link_changes_ric(self, link, target, newtarget, file_id=None):
Undocumented
def test_last_modified_rev_after_content_link_changes_ric(self):
Undocumented
def test_last_modified_rev_after_content_unicode_link_changes_ric(self):
Undocumented
def _commit_sprout(self, tree, name):
Undocumented
def _rename_in_tree(self, tree, name):
Undocumented
def _commit_sprout_rename_merge(self, tree1, name, expect_fs_hash=False, mini_commit=None):
Do a rename in both trees.
def test_last_modified_revision_after_merge_dir_changes(self):
Undocumented
def test_last_modified_revision_after_merge_dir_changes_ric(self):
Undocumented
def test_last_modified_revision_after_merge_file_changes(self):
Undocumented
def test_last_modified_revision_after_merge_file_changes_ric(self):
Undocumented
def test_last_modified_revision_after_merge_link_changes(self):
Undocumented
def test_last_modified_revision_after_merge_link_changes_ric(self):
Undocumented
def _commit_sprout_rename_merge_converged(self, tree1, name, mini_commit=None):
Undocumented
def _commit_sprout_make_merge(self, tree1, make, mini_commit=None):
Undocumented
def test_last_modified_revision_after_converged_merge_dir_unchanged(self):
Undocumented
def test_last_modified_revision_after_converged_merge_dir_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_converged_merge_file_unchanged(self):
Undocumented
def test_last_modified_revision_after_converged_merge_file_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_converged_merge_link_unchanged(self):
Undocumented
def test_last_modified_revision_after_converged_merge_link_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_merge_new_dir_unchanged(self):
Undocumented
def test_last_modified_revision_after_merge_new_dir_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_merge_new_file_unchanged(self):
Undocumented
def test_last_modified_revision_after_merge_new_file_unchanged_ric(self):
Undocumented
def test_last_modified_revision_after_merge_new_link_unchanged(self):
Undocumented
def test_last_modified_revision_after_merge_new_link_unchanged_ric(self):
Undocumented
def make_dir(self, name):
Undocumented
def make_file(self, name):
Undocumented
def make_link(self, name):
Undocumented
def make_reference(self, name):
Undocumented
def _check_kind_change(self, make_before, make_after, expect_fs_hash=False, mini_commit=None):
Undocumented
def test_last_modified_dir_file(self):
Undocumented
def test_last_modified_dir_file_ric(self):
Undocumented
def test_last_modified_dir_link(self):
Undocumented
def test_last_modified_dir_link_ric(self):
Undocumented
def test_last_modified_link_file(self):
Undocumented
def test_last_modified_link_file_ric(self):
Undocumented
def test_last_modified_link_dir(self):
Undocumented
def test_last_modified_link_dir_ric(self):
Undocumented
def test_last_modified_file_dir(self):
Undocumented
def test_last_modified_file_dir_ric(self):
Undocumented
def test_last_modified_file_link(self):
Undocumented
def test_last_modified_file_link_ric(self):
Undocumented
def test_get_commit_builder_with_invalid_revprops(self):
Undocumented
def test_commit_builder_commit_with_invalid_message(self):
Undocumented
def test_non_ascii_str_committer_rejected(self):
Ensure an error is raised on a non-ascii byte string committer
def test_stacked_repositories_reject_commit_builder(self):
Undocumented
def test_committer_no_username(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-01-20 00:34:26.