How to “undelete” a deleted folder in Subversion / TortoiseSVN?

前端 未结 6 2138
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 15:10

We have accidentally deleted the \'tags\' folder from our Subversion repository where we only intended to delete one specific tag. What is the easiest way to get the \'tags\

6条回答
  •  孤城傲影
    2020-12-12 16:13

    Most of these answers will work to a degree but the correct answer is Daniel's. Do a reverse merge. That way you keep version history.

    svn merge -r R1:R2

    where R1 is the revision that you're at, and R2 is the revision that contains the deleted file/folder.

提交回复
热议问题