189
189
# Make sure pull --overwrite sets the revision-history
190
190
# to be identical to the pull source, even if we have convergence
191
191
a_tree = self.make_branch_and_tree('a')
194
194
a_tree.commit(message='initial commit')
196
196
b_tree = a_tree.controldir.sprout('b').open_workingtree()
199
199
a_tree.commit(message='later change')
202
202
a_tree.commit(message='a third change')
204
204
self.assertEqual(a_tree.branch.last_revision_info()[0], 3)