简体   繁体   中英

How to restore a deleted file in svn repository [ Not in my working copy ]?

I deleted some specific folders(entire content of - bin,obj,pkg from visual studio solution) and some specific files from my working copy and then committed so they got deleted from the repository too. I know I can update my working copy to previous revision and they all come back in my working copy.

But how will they come back in repository ? So that when others take update they get those deleted files.

When I commit after updating my working copy to previous revision, then I get tree conflicts.

svn copy http://domain.tld/repo/path/to/file@42 .

Where 42 is the revision you want the file need to be restored at.

After that just perform commit

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM