How to fix “containing working copy admin area is missing” in SVN?

后端 未结 21 1028
没有蜡笔的小新
没有蜡笔的小新 2021-01-29 19:10

I deleted manually a directory I just added, offline, in my repository. I can\'t restore the directory.

Any attempt to do an update or a commit will fail with:

相关标签:
21条回答
  • 2021-01-29 19:12

    Can you try to check out a new copy of the parent directory?

    Edit: To be bit more specific, I meant to suggest going up one level and deleting the containing directory. Then do a

    svn update --set-depth infinity
    

    to replace the directory.

    0 讨论(0)
  • 2021-01-29 19:12

    First of all checkout the project into your system in a folder. Then remove the .svn folder from conflict project and copy the .svn folder from new checkout folder and paste into your working copy folder. Then problem is solved.

    0 讨论(0)
  • 2021-01-29 19:13

    According to this: http://www.devcha.com/2008/03/svn-directory-svn-containing-working.html

    Check-out the folder "blabla" to a different location and then copy its .svn folder back into the original "blabla".

    0 讨论(0)
  • 2021-01-29 19:14

    I tried svn rm --force /path/to/dir to no avail but ended up just running svn up and it fixed it for me.

    0 讨论(0)
  • 2021-01-29 19:16

    I had this error recently. It was caused by root owning a couple of files in the directory giving this error.

    After I changed the permissions everything worked as expected.

    0 讨论(0)
  • 2021-01-29 19:19

    I just did 'svn revert /blabla' and it worked, the folder is back and I can svn delete it

    0 讨论(0)
提交回复
热议问题