810
810
pb = bzrlib.ui.ui_factory.progress_bar()
811
811
pb.update('comparing histories')
816
count = greedy_fetch(self, other, other_revision, pb)[0]
814
818
revision_ids = self.missing_revisions(other, stop_revision)
815
819
except DivergedBranches, e:
819
821
revision_ids = get_intervening_revisions(self.last_patch(),
821
823
assert self.last_patch() not in revision_ids
822
824
except bzrlib.errors.NotAncestor:
826
count = greedy_fetch(self, other, revision_ids[-1], pb)[0]
829
827
self.append_revision(*revision_ids)
833
830
def install_revisions(self, other, revision_ids, pb):