39
39
def test_pull_overwrites(self):
40
40
tree_a, tree_b = self.get_pullable_trees()
41
41
tree_b.commit('foo', rev_id='B')
43
43
tree_b.pull(tree_a.branch, overwrite=True)
44
44
self.assertTrue(tree_b.branch.repository.has_revision('A'))
45
45
self.assertTrue(tree_b.branch.repository.has_revision('B'))