b.t.p.h.TestCaseWithBrokenRevisionIndex(TestCaseWithRepository) : class documentation

Part of bzrlib.tests.per_repository_vf.helpers View In Hierarchy

Known subclasses: bzrlib.tests.per_repository_vf.test_check.TestFindInconsistentRevisionParents, bzrlib.tests.per_repository_vf.test_reconcile.TestBadRevisionParents

No class docstring
Method make_repo_with_extra_ghost_index Make a corrupt repository.

Inherited from TestCaseWithRepository:

Method get_default_format Undocumented
Method make_repository Undocumented
def make_repo_with_extra_ghost_index(self):
Make a corrupt repository.

It will contain one revision, 'revision-id'. The knit index will claim that it has one parent, 'incorrect-parent', but the revision text will claim it has no parents.

Note: only the cache of the knit index is corrupted. Thus the corruption will only last while the repository is locked. For this reason, the returned repo is locked.

API Documentation for Bazaar, generated by pydoctor at 2019-11-20 00:36:28.