I made a SVN commit with a wrong message and the SVN server obviously does not support comment editing. So I thought I could generate a "revert" commit and then re-commit with the appropriate message.
Since I don't have any command line SVN client (I use PhpStorm SVN plugin), I'm wondering if it's somehow possible to generate this revert commit in PhpStorm.
Another way to revert a commit that affects multiple files using the commit history:
VCS > Subversion > Show History
(or any shortcut method) Show All Affected Files
Revert Selected Changes
icon on the topbar of the popup Use Subversion->Show History
to get a list of all the commits of the file. Right-click on the 2nd-to-last commit and select "Get" to copy that version into the editor. Then Commit this to revert to that previous version.
Since my commit involves many files, I didn't use barmar's answer (which is perfectly acceptable for single-file commits), but I used patches instead:
This is tested in WebStorm 10, but probably also works in PhpStorm:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.