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

RE: Re: Move problem with Win Filesystem

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: 2004-09-01 11:02:07 CEST

Erik Huelsmann wrote:
>
> > Michael Gaehwiler wrote:
> >
> > > the renaming of files to only change capitals does not
> > > work on windows filesystem. example:
> > >
> > > create file 'Hello.TXT' (e.g. copied from DOS filesystem)
> > > svn add Hello.TXT
> > > svn move Hello.TXT hello.txt
> > > svn: Cannot move path 'Hello.TXT' into itself
> >
> > See http://subversion.tigris.org/project_faq.html#case-change
> >
> > > so my question is: could somebody resolve this problem?
> >
> > The above FAQ isn't a proper solution, in my view. The
> client should
> > know it's on a case-insensitive system and work with that.
>
> How do you propose to solve the problem that 2 different
> files map to the
> same filesystem object?

Recognise this is a case-blind filesystem, and deal with it. It's
special-case code, but then it is a special case.

On updates, if the delete is done before the add (talking about effects
on the WC here - I know they map on to copy+delete as repository
operations), the old object wouldn't be in the way.

Having just hit this recently it is a HUGE pain, particularly if you're
trying to go backwards and forwards through revisions searching for
where a bug was introduced. Maybe I did it incorrectly, but every time
I tried to update to a revision on the other side of the change I got a
"file in the way" error, so I had to update in two steps.

Ian Brockbank
Senior Applications Software Engineer
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 1 11:02:48 2004

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.