313
313
def _match_on(self, branch, revs):
314
314
from branch import Branch
315
315
from revision import common_ancestor, MultipleRevisionSources
317
317
revision_a = branch.last_revision()
318
318
revision_b = other_branch.last_revision()
319
319
for r, b in ((revision_a, branch), (revision_b, other_branch)):
324
323
rev_id = common_ancestor(revision_a, revision_b, revision_source)
326
325
revno = branch.revision_id_to_revno(rev_id)