[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: Martin Furter <mf_at_rola.ch>
Date: 2006-02-06 19:10:22 CET

On Mon, 6 Feb 2006, [iso-8859-1] von L÷wis Martin wrote:

>> Wouldn't it be much, much simpler if Subversion just didn't
>> check the files out?
> That would work for me as well.
>> Seems like the implementation is OK straight forward.
> Unfortunately, it isn't: there is no easy way to find out whether
> a system supports a certain filename. You would have to hard-code
> rules on a per-system basis.
>> The rules are simple too. When checking out files on Windows:
>> - Skip files ending in trailing dots
>> - Skip files with names containing \ / : * ? " < > |
>> - Skip files whose name clashes on a case insensitive
>> filesystem (just skip both/all files to avoid any mistakes).
> These rules are incomplete:
> - the names CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5,
> COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6,
> LPT7, LPT8, and LPT9 are reserved, as are filenames that
> extend one of these (such as prn.txt). Case doesn't matter.
> On Windows NT, CLOCK$ is also reserved.
> - also skip file names with leading or trailing spaces.
> Apart from that, I think this strategy would work for Win32,
> and my specific problem would be solved if there was a Win32-only
> solution.

I guess that could be an extension to the non-recursive checkout proposal:
Files which cause problems on a specific platform could just be marked as
'excluded' automatically by the client.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 6 19:11:52 2006

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