

def get_any_author_emails(self):
    "Return a list of emails from the branch.\n\n        If the branch has an invalid base or has no history against the base\n        then resort to using the whole history.\n\n        Useful if 'get_author_names_emails' fails.\n\n        "
    if (phlgit_revparse.get_sha1_or_none(self._repo, self._review_branch.remote_base) is None):
        hashes = phlgit_log.get_last_n_commit_hashes_from_ref(self._repo, 1, self._review_branch.remote_branch)
    else:
        hashes = self._get_commit_hashes()
    if (not hashes):
        hashes = phlgit_log.get_last_n_commit_hashes_from_ref(self._repo, 1, self._review_branch.remote_branch)
    committers = phlgit_log.get_author_names_emails_from_hashes(self._repo, hashes)
    emails = [committer[1] for committer in committers]
    return emails

dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_branch.py Branch.get_any_author_emails/original