451
451
def test_fetch_missing_revision_same_location_fails(self):
452
452
repo_a = self.make_repository('.')
453
453
repo_b = repository.Repository.open('.')
455
self.assertRaises(errors.NoSuchRevision, repo_b.fetch, repo_a, revision_id='XXX')
459
457
def test_fetch_same_location_trivial_works(self):
460
458
repo_a = self.make_repository('.')
461
459
repo_b = repository.Repository.open('.')
467
462
def test_fetch_missing_text_other_location_fails(self):
468
463
source_tree = self.make_branch_and_tree('source')