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

Re: Files with trailing dots on Windows

From: Christian Stork <cstork_at_ics.uci.edu>
Date: 2006-02-08 00:51:59 CET

On Tue, Feb 07, 2006 at 02:52:50PM -0800, Justin Erenkrantz wrote:
> On 2/7/06, Julian Foad <julianfoad@btopenworld.com> wrote:
> > Justin Erenkrantz wrote:
...
> > It may be true that there is no accurate way to determine what FS "you are on"
> > (more precisely, on which a particular file is stored). It is wrong to imply
> > that the WC can't cope. There are all sorts of ideas for what the WC could do.

> No. You have no way to know how the underlying file system will
> handle with these conflicting/incompatible names. Mac OS X will just
> overwrite the files. Windows just trims off the dots silently.

The idea is that the WC code makes an educated guess at what OS FS is
used and produces warnings. That's the least Martin is asking for and
since this shouldn't be too complicated to implement it seems worth the
effort.

> > Here's my addition to these ideas: The WC has a concept of a "missing" file
> > that is used when the user doesn't have read access to a particular file in the
> > repository. The WC knows that such a file exists in the repos but is not
> > present in the WC. Leaving an incompatibly-named file out of the WC and using
> > this "missing" status seems like a possible part of a solution.

I like this idea -- using the repo as a "WC-fallback". Don't know what
the implications would be though...

> If you could tell that it was missing or written incorrectly, perhaps.
> But, I don't think you can even know that the file wasn't handled
> correctly. On Mac OS X hsfs, the stat() for the case-insensitive
> names will success return for all variations. -- justin

So why couldn't the WC code at the time of checkout warn the user (if
that's how the problem was created)?

-- 
Chris Stork   <>  Support eff.org!  <>   http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 8 00:52:08 2006

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.