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

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

    A common task I experienced was having to take one repo directory in staging and copy it to another repo - both under SVN and both called the same name. The way that worked for me was the following:

    svn --force delete PROBLEMATIC-DIR
    svn export "https://OLD REPO-A/ new-repo-A"
    svn add new-repo-A
    svn commit new-repo-A
    

提交回复
热议问题