How does one revert a file to its previous version using TortoiseSVN GUI?
Right click on the selected revision(s), then select Context Menu → Revert changes from this revision. Or if you want to make an earlier revision the new HEAD revision, right click on the selected revision, then select Context Menu → Revert to this revision. This will discard all changes after the selected revision.
Note that the svn merge command reverts a commit in the sense of having another commit undoing your changes, but keeping your wrong commit in the history.
TortoiseSVN is a really easy to use Revision control / version control / source control software for Windows. It is based on Apache™ Subversion (SVN)®; TortoiseSVN provides a nice and easy user interface for Subversion. It is developed under the GPL.
Tostoise SVN
-> Show log
Revert changes from this revision
See TortoiseSVN Manual | Undoing changes.
Revert will just remove all the current changes that you have, and put your code back to what ever version you are currently at. If you want to be at a different version, you have to go to tortoiseSVN -> Update to Revision.. and pick the revision.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With