def sync_results(vcs, signature):
results_directory = _get_results_directory(vcs, signature)<EOL>if not os.path.exists(results_directory):<EOL><INDENT>raise ResultsNotFoundError<EOL><DEDENT>with open(os.path.join(results_directory, '<STR_LIT>'), '<STR_LIT:r>') as f:<EOL><INDENT>patterns = f.read().strip().split()<EOL><DEDENT>includes = ['<STR_LIT>'.format(x)<EOL>for x in patterns]<EOL>cmd = ['<STR_LIT>', '<STR_LIT>'] + includes + ['<STR_LIT>',<EOL>os.path.join(<EOL>results_directory, '<STR_LIT>', '<STR_LIT>'),<EOL>os.path.join(vcs.path, '<STR_LIT>')]<EOL>subprocess.check_call(cmd)<EOL>
Sync the saved results for `signature` back to the project.

    Args:
        vcs (easyci.vcs.base.Vcs)
        signature (str)
    Raises:
        ResultsNotFoundError