Obstructed folders in Subversion

前端 未结 17 1313
南方客
南方客 2020-12-12 15:12

What the heck does \"obstructed\" mean when you try to check into Subversion? I see two folders in red with text status of \"obstructed.\" I don\'t see what this means anywh

17条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-12 16:05

    Here's the simplest (and safest) way I've found to resolve this:

    1. Temporarily rename the offending file or directory (or a parent directory) that is obstructed (e.g. add ".backup").
    2. Delete any .svn directories inside the renamed directory (if applicable).
    3. svn revert the renamed (and now missing) object from step 1.
    4. svn delete the reverted object.
    5. Re-rename the backup from step 1 back to its original name.
    6. Add and check-in the renamed object back into svn as a new object.

提交回复
热议问题