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
This occurred to me when I replaced a file with a folder, having the exact same name. Solved by deleting the old file, commit, and then add the new one. A little hacky, but worked for me :)
I have also seen this on Windows when I have created a symbolic link to a repository directory; in this case, the repository root is seen as "obstructed". This doesn't seem to have any affect, though.
Steps to reproduce:
Checkout your repo
svn checkout --force http://svn.server.hostname/path/to/repo/and/plugin_dir
Check that your directory is OK
cd plugin_dir
svn st -u
Output should be
Status against revision: 1234
Create the symlink (which shows the problem)
cd ..
mklink /d link_dir plugin_dir
cd link_dir
svn st -u
Output will be
~ 1234 .
Status against revision: 1234
I deleted .svn in obstructed directories and update it from outside. Then outside svn command will recognize these files.
Here's the simplest (and safest) way I've found to resolve this:
.svn directories inside the renamed directory (if applicable).svn revert the renamed (and now missing) object from step 1.svn delete the reverted object.There are different variations of scenario that can cause this situation. Here is one example:
I ended up with the ! mark on a directory which was renamed from www to www_a without using 'svn rename' command:
You should get a correct svn work directory at this point. And learn a thing or two on how to resolve svn directory confusion.