Part of bzrlib.tests.per_repository_vf.test_check_reconcile View In Hierarchy
Method | make_populated_repository | Create a new repository populated by the given factory. |
Method | add_revision | Add a revision with a given inventory and parents to a repository. |
Method | make_one_file_inventory | Make an inventory containing a version of a file with ID 'a-file'. |
Method | require_repo_suffers_text_parent_corruption | Undocumented |
Method | file_parents | Undocumented |
Method | assertFileVersionAbsent | Undocumented |
Method | assertParentsMatch | Undocumented |
Method | prepare_test_repository | Prepare a repository to test with from the test scenario. |
Method | shas_for_versions_of_file | Get the SHA-1 hashes of the versions of 'a-file' in the repository. |
Method | test_reconcile_behaviour | Populate a repository and reconcile it, verifying the state before |
Method | test_check_behaviour | Populate a repository and check it, and verify the output. |
Method | test_find_text_key_references | Test that find_text_key_references finds erroneous references. |
Method | test__generate_text_key_index | Test that the generated text key index has all entries. |
Parameters | repo | a repository. |
revision_id | the revision ID for the new revision. | |
inv | an inventory (such as created by
make_one_file_inventory ). | |
parent_ids | the parents for the new revision. |
The file's ID will be 'a-file', and its filename will be 'a file name', stored at the tree root.
Parameters | repo | a repository to add the new file version to. |
revision | the revision ID of the new inventory. | |
parents | the parents for this revision of 'a-file'. | |
inv_revision | if not None, the revision ID to store in the inventory entry. Otherwise, this defaults to revision. | |
root_revision | if not None, the inventory's root.revision will be set to this. | |
file_contents | if not None, the contents of this file version. Otherwise a unique default (based on revision ID) will be generated. |
Returns | A repository, and the scenario instance. |
Parameters | repo | the repository to get the hashes from. |
versions | a list of versions to get hashes for. | |
Returns | A dict of {version: hash} . |