On Friday, 11 September 2020 at 22:12:55 UTC+2 Stefan wrote:
> That's a known problem: you can't create a file named "aux" on Windows.
It's just not possible. (search the web for "forbidden filenames on
Windows")
Actually no, see below.
It is just the DOS/ancient-Windows API (don't know the exact name) that has
this limitation. Windows and NTFS can have such files with no issues.
But many (most?) software uses the above API (or assumes/hardcodes those
limitations themselves) , using files like that would lead to problems
sooner or later. read: supporting them in (T)SVN will just move the "it
doesn't work" problem from the checkout step to the next one (like
compiling the checked out source code or similar)
Example on Windows 10 (works since XP or so also):
C:\winsux\tmp\xxx>dir
Volume in drive C is Windows
Volume Serial Number is XXXXX
Directory of C:\winsux\tmp\xxx
12.09.2020 16:34 <DIR> .
12.09.2020 16:34 <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 278.334.681.088 bytes free
C:\winsux\tmp\xxx>echo gre ge> test1
C:\winsux\tmp\xxx>dir
Volume in drive C is Windows
Volume Serial Number is XXXXX
Directory of C:\winsux\tmp\xxx
12.09.2020 16:35 <DIR> .
12.09.2020 16:35 <DIR> ..
12.09.2020 16:35 8 test1
1 File(s) 8 bytes
2 Dir(s) 278.334.681.088 bytes free
C:\winsux\tmp\xxx>copy test1 "\\.\c:\winsux\tmp\xxx\aux"
1 file(s) copied.
C:\winsux\tmp\xxx>dir
Volume in drive C is Windows
Volume Serial Number is E454-7E89
Directory of C:\winsux\tmp\xxx
12.09.2020 16:35 <DIR> .
12.09.2020 16:35 <DIR> ..
12.09.2020 16:35 8 aux
12.09.2020 16:35 8 test1
2 File(s) 16 bytes
2 Dir(s) 278.334.603.264 bytes free
C:\winsux\tmp\xxx>type aux
The system cannot find the file specified.
C:\winsux\tmp\xxx>type .\aux
The system cannot find the file specified.
C:\winsux\tmp\xxx>type "\\.\c:\winsux\tmp\xxx\aux"
gre ge
Regards,
David
PS: Case insensitivity can also be turned on, but is is even a bigger mess.
> And that means you can not check out that source code as long as it has a
> file named aux.c in there.
> Also: since windows file systems are case-insensitive, you will also get
> an error if you have two files that are different only in case - because on
> windows those two files would result in the same file on disk.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tortoisesvn/bc9e0d5f-e6e9-4b1e-b117-4dd1e71d02f7n%40googlegroups.com.