avt77 added a comment.
In https://reviews.llvm.org/D43578#1063365, @davezarzycki wrote:
> A revert in practice just means undoing the changes. For example, while both
> `git` and `svn` have `revert` subcommands, you can also just take the
> original diff/patch, pipe it into `patch -R`, and if there are no conflicts,
> commit the result.
Unfortunately, revert does not work with committed changes:
revert: Restore pristine working copy state (undo local changes).
usage: revert PATH...
Revert changes in the working copy at or within PATH, and remove
conflict markers as well, if any.
- This subcommand does not revert already committed changes.**
But I'll try with patch -R. Tnx.
cfe-commits mailing list