829
829
>>> br2.revision_history()
831
831
>>> br2.update_revisions(br1)
835
833
>>> br1.text_store.total_size() == br2.text_store.total_size()
839
838
pb.update('comparing histories')
840
839
revision_ids = self.missing_revisions(other, stop_revision)
841
count, failures = self.install_revisions(other, revision_ids, pb=pb)
841
count = greedy_fetch(self, other, revision_ids[-1], pb)[0]
842
844
self.append_revision(*revision_ids)
843
845
print "Added %d revisions." % count
846
847
def install_revisions(self, other, revision_ids, pb=None):