Lines Matching full:commits
26 self.commits = CommitList.from_existing(path)
51 commits = self.commits.filter(category=self.category)
52 total_commits = len(self.commits.commits)
53 already_done = total_commits - len(commits)
55 while i < len(commits):
56 cur_commit = commits[i]
57 next_commit = commits[i + 1] if i + 1 < len(commits) else None
59 cur_commit, already_done + i + 1, total_commits, commits
66 i = len(commits)
68 i = commits.index(next_commit)
73 def potential_reverts_of(self, commit, commits): argument
88 index = commits.index(commit)
95 for delta, cand in enumerate(commits[index + 1 :])
102 def handle_commit(self, commit, i, total, commits): argument
103 potential_reverts = self.potential_reverts_of(commit, commits)
111 # Some commits don't have authors:
189 self.commits.write_result()
193 parser = argparse.ArgumentParser(description="Tool to help categorize commits")
202 help="The location of the commits CSV",