I have a PC for Windows development and Linux box for Android development. Our source control is Subversion and I use TortoiseSVN on Windows and Subclipse plug-in in Eclipse on Linux.
Sometimes I’ll edit a file for some experiment but I don’t want to keep the changes. In Subclipse all I have to to is “Replace with latest from Repository” to bring it back in line with the latest committed code.
What’s the equivalent of this in TortoiseSVN? Is there a simple one-step way to replace my local file with the current latest in the repository?
N.B. I don’t want to do an “Update” because according to the documentation that will merge in others’ changes. I want a complete replacement.
Thanks in advance.
I don’t think there’s a one-step action for that.
Right-click on working copy folder
TortoiseSVN -> Revert& choose the files which should have their local changes undone, and then do aTortoiseSVN -> Update.