379
379
self.assertInHistoryIs(None, 'alt_r2', 'revid:alt_r2')
383
383
# It exists in tree2, but not in tree
384
384
self.assertInvalid('revid:alt_r3', invalid_as_revision_id=False)
386
386
def test_in_repository(self):
387
387
"""We can get any revision id in the repository"""
388
388
# XXX: This may change in the future, but for now, it is true
390
390
self.tree.branch.fetch(self.tree2.branch, 'alt_r3')
391
391
self.assertInHistoryIs(None, 'alt_r3', 'revid:alt_r3')