Search code examples
svnmergerevert

How do I revert to the most revision in SVN for all files in a folder?


Let's say a month ago I checked in 100 files to SVN which were at revision 100. Today I checked in all the 100 files to SVN, say at revision 200. However in between then about 50 files were individually updated and checked in to various revision no.s. I want to revert from the current revision (200) to the most recent revision for each file which will vary between revision 100 and 199 depending on the file. Is this possible? I know how to revert all to revision 100, but not to the most recent.


Solution

  • Just check out to revision 199.

    The revision number is not for single files but for the complete repository. So checking out to 199 will update all files to their most current version before revision 200.