def computeSourceRevision(self, changes): if changes: for c in list(changes).reversed(): log.msg('checking repo match: %s/%s' % (c.repository, self.repourl)) if git.probably_same_repo(c.repository, self.repourl): log.msg('MATCHED') return c.revision return None
def match_url(self, url): return git.probably_same_repo(self.url,url)
def match_url(self, url): return git.probably_same_repo(self.url, url)