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