[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Failed to add file, object already exists. Case is correct

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2005-11-24 00:13:24 CET

Quoth Loretta Bandera <mailto:lbandera@us.ibm.com>:
> I did a svn add on a file called mainpage.jpg. The add was
> successful. When I do an update, I am getting the error 'Failed to
> add file 'mainpage.jpg': object of the same name already exists.' and
> the update does not complete. Searching on that error, I found it
> may be caused by the mixed case in the file name. The name is all
> lower case. However, the directory is mixed case. It is a windows
> machine, I'm not sure how to get around the problem, since the name I
> am using is correct. Thank you,

The problem is that "mainpage.jpg" exists in the working copy you're
trying to do the update from, and it was not obtained through
Subversion. Presumably someone manually copied it into the "right"
spot.

Delete or rename the file and then do the update again, and Subversion
will fetch the file out of the repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 24 00:15:40 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.