I wanted to look at (and not modify) older versions of a few files in my repository, so I went and reverted those files. Now I'm trying to get those files back to the most recent version so that they match all the other files in my working copy, but when I updated the folder, nothing changes.
Is it possible to undo a revert? I copy and pasted the newest versions of those files elsewhere, so they're not completely lost, but I would think that there's an easier way than just moving those files back to the directory holding my working copy.
Thanks in advance.
With SVN there's only the working copy on your local machine, and the repository on the server. By using revert you have replaced the contents of your local working copy with the contents from the server, and there is no other place where SVN keeps a copy of those files.
Depending on your IDE you might be able to restore your changes. Eclipse, for example keeps track of the local history of every file in your workspace.
But if you want to get version control that is much more flexible, take a look at Git or Mercurial.
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