878
878
def pull(self, source, overwrite=False, stop_revision=None):
881
884
old_revision_history = self.branch.revision_history()
882
885
basis_tree = self.basis_tree()
883
886
count = self.branch.pull(source, overwrite, stop_revision)
884
887
new_revision_history = self.branch.revision_history()
885
888
if new_revision_history != old_revision_history:
886
890
if len(old_revision_history):
887
891
other_revision = old_revision_history[-1]