Sync a randomly deleted local SVN folder

I have an SVN repository on a remote server. I regularly update it with commits from my local development machine.

I accidentally deleted a subfolder of the repository on my local machine (and not on the server). Now I tried everything to get the folder from the repository on my local machine, but for some reason it does not work.

As a last resort, I checked the remote subfolder from the Repo browser. But if I now come from the parent folder, files with the modified child folder are not included in the commit, and I need them separately.

Can someone please tell me how to recover accidentally deleted folder on local machine from SVN repo?

+3
source share
3 answers

I cannot reproduce this problem using TortoiseSVN (just mentioned this because of the tortoisesvn tag)

I just solved a similar problem on the command line. Regular updating of "svn update" will not return the folder, but this worked:

rm -rf folder
svn up folder

You might want to make sure that you do not have local changes in the folder :-)

+4
source

Just follow the action update.

+1
source

Run svn update(or something similar in the turtle) from the folder that should contain your missing folder. It will recover any files not deleted using svn delete.

If you svn deleted folder, then you must have svn revertit. Not sure how to do this in a turtle.

+1
source

Source: https://habr.com/ru/post/1775796/


All Articles