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

Re: regarding issue 667: data loss??

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-06-01 15:16:30 CEST

Ben Collins-Sussman wrote:

>In my ignorance of win32-ness, my instinctive proposal is to somehow
>teach libsvn_wc to be aware of its underlying filesystem. If it's a
>case-insensitive one, then it should be doing case-insensitive filename
>comparisons. If it's a case-sensitive filesystem, then do
>case-sensitive comparisons. But perhaps we've gone down this road
>before. Folks, please speak up about this.
>
>
libsvn_wc absolutely must know if the underlying filesystem is
case-insensitive. But case-insensitive comparisons _within_ libsvn_wc
won't work in general, because you don't know _how_ the filesystem does
case folding (yes, there's no single right way).

Instead, on a case-insensitive filesystem, we should check (stat for)
every entries item that's "missing" from the directory listing to check
if it really is missing and to get back the true file name. I believe a
recent commit (within the last 3 weeks?) added these checks in a number
of places.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 1 15:15:46 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.