If the file is deleted by mistake, directly svnup or svnrevert-rversion. If you want to delete the file, first svndelete and then SVN CI-M "message ".
How to roll back to the previous version of the command in svn?
In this case, the svnmerge command is used for rollback. The operation process of rollback is as follows:
1, make sure we get the latest code: svnupdate assumes that the latest version number is 28.
2. Then find out the exact version number to be rolled back: svnlog assumes that the version number to be rolled back is 25 according to the svnlog log, and the things here can be files, directories or the whole project. If you want to know more, you can use svndiff-r28:25.
3. Roll back to version number 25: SVN merge -R28: 25 or something. To be on the safe side, reconfirm the result of rollback: svndiff found it correct and submitted it.
4. Commit rollback: SVN commit-m "restores the revised version from 28th to 25th,