You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Loretta Bandera <lb...@us.ibm.com> on 2005/11/23 20:36:42 UTC
Failed to add file, object already exists. Case is correct
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,
Loretta Bandera
lbandera@us.ibm.com
914-945-2090 tieline 862-2090
RE: Failed to add file, object already exists. Case is correct
Posted by Gavin Lambert <ga...@compacsort.com>.
Quoth Loretta Bandera <ma...@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