-----BEGIN PGP SIGNED MESSAGE-----
von L÷wis Martin wrote:
> I would like subversion to support files with trailing dots on Windows.
Well, you'd better go and convince Microsoft to make Windows to support
filenames with trailing dots, then.
> One use case for that is
> where "Insert folder name..." has trailing dots. On checking out the
> tree, subversion creates a file "Insert folder name" instead, and
> subsequently reports that the tree was modified (with the original file
> missing). svn revert will try to create the missing file, but fail
> just as the original checkout failed.
Some kind of mapping logic to avoid the bizarre restrictions on Windows
file naming isn't totally out of the question, but that's a very
> However, there are solutions/work-arounds available, which I think
> subversion should use.
> For this specific problem, escaping the path name with \\?\ would
> help. To see how this works, try running
> notepad.exe \\?\c:\foo.txt...
> This will happily create a file with trailing dots in ist name;
> Microsoft even documents it in the Win32 API (somewhere).
> May I file a bug report for that issue?
> P.S. If you were interested in supporting case-sensitive file names
> also (i.e. having two files in the same directory that only differ
> in case): that would be possible through FILE_FLAGS_POSIX_SEMANTICS
> for CreateFile - unfortunately, you would have to use NtDeleteFile
> for removal...
Sure, you can play all sorts of devious tricks with low level APIs, but
that leaves you with files on your disk that cause 99% of existing
software tools to then break in mysterious ways when you attempt to work
In my personal opinion, this 'solution' is totally nonviable.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
-----END PGP SIGNATURE-----
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Fri Jan 20 21:58:40 2006