#NEWLINE# def merge_commits( repository , ours , theirs ) : #NEWLINE# #INDENT# theirs = repository . revparse_single ( repository ) #NEWLINE# ours = repository . revparse_single ( ours ) #NEWLINE# merge_index = repository . merge_commits ( ours , theirs ) #NEWLINE# return format_index ( merge_index )