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

Re: Case-insensitivity causes data loss under win32

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-10-07 15:40:57 CEST

Tristan Seligmann wrote:
> >svn status xcom.prg
>
> >echo blah > xcom.prg
>
> >svn status xcom.prg
> M xcom.prg
>
> >move xcom.prg XCOM.PRG

At this point "xcom.prg" is considered missing; do an 'svn status' at this point
and see if you see that (and that XCOM.PRG show up with a question mark).

>
> >svn update
> Restored xcom.prg
> At revision 1933.

Since xcom.prg was missing, svn "helpfully" restores it (from the textbase???).

> Would it be possible for some kind of warning to be displayed under
> these circumstances, to avoid the data loss? (The reason the filenames
> are changing case is that they're being edited with DOS apps...)

I would think that this would vastly slow down processing, because every time
svn finds a file missing, it would have to then look again for an uppercase
representation.

>
> Also, can anyone suggest a workaround other than renaming every file in
> the repository to uppercase?

Don't use DOS apps??? Don't use Win32 and use a proper O/S??? <ducks>

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 7 15:41:27 2003

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.