If you can't add a directory to SVN
If you try to add a directory to Subversion and it tells you:
svn: warning: 'yourDirectory' is already under version control
And you know it isn't, specifically because you have recently checked out this entire project and that directory didn't appear after check out, then here is the way to add it:
cd to yourDirectory
rm -rf .svn
cd ..
svn add yourDirectory
The reason this works is because you probably have copied over a directory from another place and it already had SVN information associated with it.
- Previous: How to fix certain SVN commit errors
- Next: Ruby on Rails is 1.0!