Reputation: 4246
I am pretty much the only person making check ins to the svn repo but for some reason over the past week Tortoise is reported that my WCF Service Reference directory is 'obstructed' and I cant commit my changes. If I have no even made any changes to the contents of that directory, why does svn report obstructed and what does that even mean?
Thanks
Upvotes: 10
Views: 21561
Reputation: 1
I'd have done the same thing - removed two directories and replaced them with new ones that didn't have .svn directories in.
I dragged the new directories onto my Desktop, committed the changes so that they were showing as missing, and then dragged them back and committed again.
Upvotes: 0
Reputation: 847
As an addendum to the answer above, I think it's more convenient to rename your current broken directory, check out the latest copy in the right folder, and copy your changed files.
Upvotes: 0
Reputation: 9725
If the .svn sub-directory is missing the directory is marked obstructed as SVN has no way of knowing the directory's status any more. Most likely clean-up or revert isn't able to fix it, since local svn data is gone, so you got two options:
Upvotes: 9
Reputation: 86805
You've probably deleted/moved some files / directories directly from the file system, and not through SVN commands. This can sometimes lead to a directory becoming obstructed if it can not work out the differences against the repository.
Try performing a clean-up first, and if that fails, revert that directory and try use SVN commands for changing directory file structure (delete/move).
Upvotes: 17