340
340
def _match_on(self, branch, revs):
341
341
from branch import Branch
343
342
other_branch = Branch.open_containing(self.spec)[0]
344
343
revision_b = other_branch.last_revision()
346
345
raise NoCommits(other_branch)
347
346
# pull in the remote revisions so we can diff
350
349
revno = branch.revision_id_to_revno(revision_b)