4360
4363
remote_branch = Branch.open(other_branch)
4361
4364
if remote_branch.base == local_branch.base:
4362
4365
remote_branch = local_branch
4366
4370
local_revid_range = _revision_range_to_revid_range(
4367
4371
_get_revision_range(my_revision, local_branch,
4372
4374
remote_revid_range = _revision_range_to_revid_range(
4373
4375
_get_revision_range(revision,
4374
4376
remote_branch, self.name()))