Part of bzrlib.vf_repository View In Hierarchy
Method | __init__ | Undocumented |
Method | calculate_file_version_parents | Calculate the correct parents for a file version according to |
Method | check_file_version_parents | Check the parents stored in a versioned file are correct. |
Method | _check_file_version_parents | See check_file_version_parents. |
It also detects file versions that are not referenced by their corresponding revision's inventory.
Returns | A tuple of (wrong_parents, dangling_file_versions). wrong_parents is a dict mapping {revision_id: (stored_parents, correct_parents)} for each revision_id where the stored parents are not correct. dangling_file_versions is a set of (file_id, revision_id) tuples for versions that are present in this versioned file, but not used by the corresponding inventory. |