368
368
# Ensure that we stored a delta
370
370
self.addCleanup(source.unlock)
373
373
self.assertEqual('knit-delta-gz', record.storage_kind)
374
374
target.fetch(tree.branch.repository, revision_id='rev-two')
375
375
# The record should get expanded back to a fulltext
377
377
self.addCleanup(target.unlock)
380
380
self.assertEqual('knit-ft-gz', record.storage_kind)
382
382
def test_fetch_with_fallback_and_merge(self):