> > -----Original Message-----
> > From: Bob Archer [mailto:Bob.Archer_at_amsi.com]
> > Sent: 16 December 2009 17:09
> > To: Hardy, Andrew; users_at_subversion.tigris.org
> > Subject: RE: How remove case 'duplicate' files from
> >
> > > 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.
>
> I don't see the option to rename in TortoiseSVN?
You are in the repository browser and you right click on a file? If you do you should see a rename.
>
> > 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
>
> But how do I fix this in the past? In my case the 'error' occurred
> at
> revision X and we're now at Y. I can't access the files around
> revision
> X as I get the error, and I can't access both files at Y. Even if I
> could access them both now, deleting one of them at Y+ wouldn't fix
> the
> problems I have at accessing them at X?
You can't fix things in the past. You can only fix things in head.
If you need to access this file at an earlier revision... what you can do is create a branch from the earlier revision and then do the rename in the branch.
BOb
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2430938
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 22:44:48 CET