887
887
def pull(self, source, overwrite=False, stop_revision=None):
890
893
old_revision_history = self.branch.revision_history()
891
894
basis_tree = self.basis_tree()
892
895
count = self.branch.pull(source, overwrite, stop_revision)
893
896
new_revision_history = self.branch.revision_history()
894
897
if new_revision_history != old_revision_history:
895
899
if len(old_revision_history):
896
900
other_revision = old_revision_history[-1]