开发者

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

开发者 https://www.devze.com 2023-03-16 01:18 出处:网络
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 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

0

精彩评论

暂无评论...
验证码 换一张
取 消