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

RE: How remove case 'duplicate' files from

From: Bob Archer <bob.archer_at_amsi.com>
Date: Wed, 16 Dec 2009 12:08:47 -0500

> Hi,
>
> Running SVN 1.5 on Windows.
>
> At a point in the past we have managed to add a 'duplicate' file to
> the repository, the file differs by its case.
>
> This is causing problems when we try to perform checkouts of files
> around the point at which the second file was added - we get
> messages about 'object of the same name already exists' -
> presumably because Windows respects case, but is not case-
> sensitive.
>
> How can I fix this?

You have to rename one of the files using svn mv command. On windows I find the easiest way to do this is using the Repository Browser from TortoiseSVN.

But, with the command line I think you have to do something like:

svn mv FileName.txt filename_old.txt
svn ci
svn up

Or you can just delete the offending file using:

svn del ^/path/to/filethatiswrong.txt

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2430848

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-16 18:09:59 CET

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.