开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜