41
41
revid = tree1.commit('2st post', allow_pointless=True)
42
42
branch2 = self.make_branch('branch2')
44
44
branch2.import_last_revision_info_and_tags(tree1.branch, 2, revid))
45
45
self.assertEqual((2, revid), branch2.last_revision_info())
46
46
self.assertTrue(branch2.repository.has_revision(revid))