Update fails with long file name
Augie Fackler
lists at durin42.com
Tue Sep 29 20:53:27 UTC 2015
On Tue, Sep 29, 2015 at 4:49 PM, Benjamin Fritz <fritzophrenic at gmail.com> wrote:
> Yes, very much broken. I had to look up how to even create such a file. I
> created two, "aux.txt" and "NUL.txt".
>
> Once I got those created, I was asked for admin privileges to delete. It
> didn't matter if I allow that; I can't delete the files in Windows explorer.
>
> I need to use the \\.\C:\ syntax to remove them with the del command.
Okay, it sounds like there are two issues then:
1) reserved "device" names like aux break explorer.exe and related old apps
2) long file paths break explorer.exe and related old apps
it sounds like 2 is at least partially mitigated as of Windows 7,
which I guess is interesting news.
(I also do not have a Windows machine, so I have only minimal
motivation at the moment to figure out what the Right set of
restrictions is to enforce on windows users for minimal breakage.)
More information about the Mercurial
mailing list