#46927: record successfully applied patches in the statefile --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: Resolution: | Keywords: haspatch Port: | --------------------------+-------------------------------- Comment (by rjvbertin@…): Now why didn't I find this ticket when I looked for it... Anyway, how would one best improve this to remove the need to revert a failed patch manually? The `patch` command has a `--dry-run` option which allows to test a patch without actually applying it. I guess it'd make sense to do such a dry run initially by prepending the option to the `pre_args`, but I've failed to achieve that until now :-/ -- Ticket URL: <https://trac.macports.org/ticket/46927#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X