code: def get_commit_log(from_rev=None):
      
  
      check_repo()
      rev = None
      if from_rev:
          rev = '...{from_rev}'.format(from_rev=from_rev)
      for commit in repo.iter_commits(rev):
          yield (commit.hexsha, commit.message)
docs: Yields all commit messages from last to first.