112
110
tree_a.branch.pull, tree_b.branch,
113
111
overwrite=False, stop_revision='rev2b')
114
112
# It should not have updated the branch tip, but it should have fetched
116
114
self.assertEqual('rev2a', tree_a.branch.last_revision())
118
117
tree_a.branch.pull(tree_b.branch, overwrite=True,
120
119
self.assertEqual('rev2b', tree_a.branch.last_revision())
125
124
class TestPullHook(TestCaseWithInterBranch):