How to cancel status -R (marked for deletion) in SVN

I am trying to add a_folder to SVN, but I accidentally assigned my root directory to be deleted:

[ phil@sessions www]$svn status R . A a_folder 

I cannot add a_folder because ...

 [ phil@sessions www]$ svn commit a_folder-m "adding" svn: Commit failed (details follow): svn: '/home/phil/www' is not under version control and is not part of the commit, yet its child '/home/phil/www/a_folder' is part of the commit 

If I try "svn add." I get that "www is already under version control". How can I remove this status to continue my life?

+6
svn
source share
2 answers

svn revert .

+19
source share

My problem was in one folder, so I solve it like this:

 cd Project svn revert Folder cd Folder svn add --force . cd .. && svn commit -m "resolved svn inconsistency" 

Here is a useful link with a list of all statuses.

+1
source share

All Articles