So today I ran into an svn problem: Svn: Path ‘somedirectory’ not present  I spend a good hour trying to fix it.  It turned out to be left over garbage from moving folders around – something I wish svn was better able to do.  You can move folders around fluidly without causing havoc on your repo.

So Follow me I had a structure like this:

site.com

-www

-includes

-js

-css

I wound up renaming the www folder to “sliced” and created a new www folder.  I installed wordpress and did everything I needed to do.  I went to check it in and bamn – got the above error.  After trying several things online – with no good direction I realized all I had to do was create a folder includes that contained js and css folders and an add and checkin:

mkdir -p includes/css

mkdir -p includes/js

svn add includes

svn ci -m "my error is gone"

svn remove includes

svn ci -m "now my extra empty folder is gone as well"

Leave a Comment

Your email address will not be published. Required fields are marked *