An SVV version without a vertex directory with the same name already exists

I also see questions with similar headers, but this has the exception that there is an error updating the server, so you cannot delete the previous unversioned directory.

I use SVN to upload code files, you created a folder with downloaded images on the server manually and do not upload images via svn, as this is user-generated content, which may be different on the server, and local machines depend on the data in the database.

Be that as it may, someone made the uploads / images directories, so I had the following problem:

svn: Failed to add directory 'assets/uploads/images': an unversioned directory of the same name already exists

I know why this happened because there were unversioned files in one place, so my question is how can I fix it?

I do not want to delete the remote directory because it contains images associated with server database entries. So how can I return this faithful directory? I tried svn-> return modification-> go back is fixed in this directory, but this leads to the following error:

org.apache.subversion.javahl.ClientException: E195020: Cannot merge into mixed-revision working copy [341:448]; try updating first

So, any idea how I can fix it? In case of any problems in understanding the issue, just take a comment for me and I will make it clear.

thank

+5
source share
2 answers

What I usually do is simply rename the corrupted directory and then retrieve it from svn. After that, I just merge the folders together.

+12
source

I found the same problem .. and solution ... delete the resource / downloads / images directory and then get svn up ...

+1
source

All Articles