b.t.p.t.TestInterRepository(TestCaseWithInterRepository) : class documentation

Part of bzrlib.tests.per_interrepository.test_fetch View In Hierarchy

No class docstring
Method disable_commit_write_group_paranoia Undocumented
Method test_fetch Undocumented
Method test_fetch_inconsistent_last_changed_entries If an inventory has odd data we should still get what it references.
Method test_fetch_from_stacked_smart Undocumented
Method test_fetch_from_stacked_smart_old Undocumented
Method test_fetch_from_stacked Fetch from a stacked branch succeeds.
Method test_fetch_parent_inventories_at_stacking_boundary_smart Undocumented
Method test_fetch_parent_inventories_at_stacking_boundary_smart_old Undocumented
Method test_fetch_parent_inventories_at_stacking_boundary Fetch to a stacked branch copies inventories for parents of
Method assertCanStreamRevision Undocumented
Method test_fetch_across_stacking_boundary_ignores_ghost Undocumented
Method test_fetch_from_stacked_to_stacked_copies_parent_inventories Fetch from a stacked branch copies inventories for parents of
Method test_fetch_missing_basis_text If fetching a delta, we should die if a basis is not present.
Method test_fetch_missing_revision_same_location_fails Undocumented
Method test_fetch_same_location_trivial_works Undocumented
Method test_fetch_missing_text_other_location_fails Undocumented
Method test_fetch_funky_file_id Undocumented
Method test_fetch_revision_hash Ensure that inventory hashes are updated by fetch

Inherited from TestCaseWithInterRepository:

Method setUp Undocumented
Method get_default_format Undocumented
Method make_branch Undocumented
Method make_bzrdir Undocumented
Method make_repository Undocumented
Method make_to_repository Undocumented
def disable_commit_write_group_paranoia(self, repo):
Undocumented
def test_fetch(self):
Undocumented
def test_fetch_inconsistent_last_changed_entries(self):
If an inventory has odd data we should still get what it references.

This test tests that we do fetch a file text created in a revision not being fetched, but referenced from the revision we are fetching when the adjacent revisions to the one being fetched do not reference that text.

def test_fetch_from_stacked_smart(self):
Undocumented
def test_fetch_from_stacked_smart_old(self):
Undocumented
def test_fetch_from_stacked(self):
Fetch from a stacked branch succeeds.
def test_fetch_parent_inventories_at_stacking_boundary_smart(self):
Undocumented
def test_fetch_parent_inventories_at_stacking_boundary_smart_old(self):
Undocumented
def test_fetch_parent_inventories_at_stacking_boundary(self):
Fetch to a stacked branch copies inventories for parents of revisions at the stacking boundary.

This is necessary so that the server is able to determine the file-ids altered by all revisions it contains, which means that it needs both the inventory for any revision it has, and the inventories of all that revision's parents.

However, we should also skip any revisions which are ghosts in the parents.

def assertCanStreamRevision(self, repo, revision_id):
Undocumented
def test_fetch_across_stacking_boundary_ignores_ghost(self):
Undocumented
def test_fetch_from_stacked_to_stacked_copies_parent_inventories(self):
Fetch from a stacked branch copies inventories for parents of revisions at the stacking boundary.

Specifically, fetch will copy the parent inventories from the source for which the corresponding revisions are not present. This will happen even when the source repository has no fallbacks configured (as is the case during upgrade).

def test_fetch_missing_basis_text(self):
If fetching a delta, we should die if a basis is not present.
def test_fetch_missing_revision_same_location_fails(self):
Undocumented
def test_fetch_same_location_trivial_works(self):
Undocumented
def test_fetch_missing_text_other_location_fails(self):
Undocumented
def test_fetch_funky_file_id(self):
Undocumented
def test_fetch_revision_hash(self):
Ensure that inventory hashes are updated by fetch
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.