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

后端 未结 21 1027
没有蜡笔的小新
没有蜡笔的小新 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:22

    The error "Directory 'blah/.svn' containing working copy admin area is missing" occurred when I attempted to add the directory to the repository, but did not have enough filesystem privileges to do so. The directory was not already in the repository, but it was claiming to be under version control after the failed add.

    Checking out a copy of the parent directory to another location, and replacing the .svn folder in the parent dir of the working copy allowed me to add and commit the new directory successfully (after fixing the file permissions, of course).

提交回复
热议问题