@memoized
def get_commits_not_in_prs(start_ref, end_ref):
 return tuple(Commit.iter_items(repo, u'{start}..{end}'.format(start=start_ref, end=end_ref), first_parent=True, no_merges=True))

@ memoized def get_commits_not_in_prs ( start_ref , end_ref ) : return tuple ( Commit . iter_items ( repo , u'{start}..{end}' . format ( start = start_ref , end = end_ref ) , first_parent = True , no_merges = True ) )
return a tuple of commits that exist between start_ref and end_ref .