Lines Matching refs:commits
224 def split_commit_list(commits: str) -> typing.Generator[typing.Tuple[str, str], None, None]:
225 if not commits:
227 for line in commits.split('\n'):
307 async def resolve_fixes(commits: typing.List['Commit'], previous: typing.List['Commit']) -> None:
319 for commit in reversed(commits):
326 for commit in commits:
329 for oldc in reversed(commits):
352 commits: typing.List[typing.Optional['Commit']],
354 commits[index] = await resolve_nomination(commit, version)
363 commits = typing.cast(typing.List[Commit], m_commits)
365 await resolve_fixes(commits, previous)
367 for commit in commits:
371 return commits
382 def save(commits: typing.Iterable['Commit']) -> None:
383 commits = list(commits)
385 json.dump([c.to_json() for c in commits], f, indent=4)