[all-commits] [llvm/llvm-project] 81ee49: utils: add a revert checker

George Burgess IV via All-commits all-commits at lists.llvm.org
Wed Jul 7 14:20:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81ee4952f122b49772e09a1da4e2e51577d1690a
      https://github.com/llvm/llvm-project/commit/81ee4952f122b49772e09a1da4e2e51577d1690a
  Author: George Burgess IV <george.burgess.iv at gmail.com>
  Date:   2021-07-07 (Wed, 07 Jul 2021)

  Changed paths:
    A llvm/utils/revert_checker.py
    A llvm/utils/revert_checker_test.py

  Log Message:
  -----------
  utils: add a revert checker

Chrome OS and Android have found it useful to have an automated revert
checker. It was requested to upstream it, since other folks in the LLVM
community may also find value in it.

The tests depend on having a full (non-shallow) checkout of LLVM. This
seems reasonable to me, since:

- the tests should only be run if the user is developing on this script
- it's kind of hard to develop on this script without local git history
  :)

If people really want, the tests' dependency on LLVM's history can be
removed. It's mostly just effort/complexity that doesn't seem necessary.

Differential Revision: https://reviews.llvm.org/D105578




More information about the All-commits mailing list