33
33
tree.commit('one', rev_id='r1')
37
37
tree = self.create_simple_tree()
38
38
dir = self.make_repository('dir').bzrdir
39
39
result = dir.push_branch(tree.branch)
40
40
self.assertEquals(tree.branch, result.source_branch)
41
41
self.assertEquals(dir.open_branch().base, result.target_branch.base)
43
43
tree.branch.get_push_location())
45
45
def test_push_new_empty(self):