1622
1625
def update_revisions(self, other, stop_revision=None, overwrite=False):
1625
1629
return self._real_branch.update_revisions(
1626
1630
other, stop_revision=stop_revision, overwrite=True)
1630
1637
other_last_revno, other_last_revision = other.last_revision_info()
1631
1638
if stop_revision is None:
1632
1639
stop_revision = other_last_revision
1634
1641
# if there are no commits, we're done.
1636
1643
# whats the current last revision, before we fetch [and change it
1639
1646
# we fetch here so that we don't process data twice in the common
1640
1647
# case of having something to pull, and so that the check for
1641
1648
# already merged can operate on the just fetched graph, which will