[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: John Peacock <jpeacock_at_rowman.com>
Date: 2006-02-06 12:40:01 CET

von Löwis Martin wrote:
> I'm not blaming Subversion for renaming the file. I'm blaming
> it for claiming that the file is not there, when it really is
> (although under a different name).

I think you are missing the point. Subversion goes to write a file to disk and
the operating system (in its infinite wisdom) changes the name of the file
without informing Subversion that there was a problem. The next time round,
Subversion tries to compare the list of filenames stored in the admin files with
the list returned by the OS and notices "Oh there is a file missing!" QED

It would not be good, performance wise, to try and hunt around for "files
stupidly renamed by broken filesystems" even if we encoded a few of the possible
reasons why a filename might be transparently mutilated (there's another reason
to add a full regex engine). There are a couple of things we could do (off the
top of my head):

1) drop support for native Win32 support (my favorite); :0

2) check for illegal filenames [for all platforms] and refuse to add them to the
repository (or less drastically refuse to check them out with a warning on evil
platforms);

3) admit that using native Win32 Subversion may always have some limitations
with cross-platform development (cf. renaming files in case only).

Guess which one is likely to meet the greatest approval within the project... ;-)

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: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 6 12:40:27 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.