spack/lib/spack
Adam J. Stewart 94a1d1414a
spack.patch: support reversing patches (#43040)
The `patch()` directive can now be invoked with `reverse=True` to apply a patch in reverse.
This is useful for reverting commits that caused errors in projects, even if only the forward
patch is available, e.g. via a GitHub commit patch URL.

`patch(..., reverse=True)` runs `patch -R` behind the scenes. This is a POSIX option so we
can expect it to be available on the `patch` command.

---------

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2024-03-12 23:22:10 -07:00
..
docs perl testing: refactor stand-alone testing into base class (#43044) 2024-03-12 15:39:18 +01:00
env Revert "cc: work around -v split between ld and ccld" (#42196) 2024-01-19 17:59:41 +01:00
external Update archspec to v0.2.3 (#42854) 2024-03-12 09:31:15 +01:00
llnl Remove dead code (#43114) 2024-03-11 00:47:55 -07:00
spack spack.patch: support reversing patches (#43040) 2024-03-12 23:22:10 -07:00
spack_installable Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00