John C Barstow пишет:
> You can in theory use os.path.normcase to detect a case-insensitive
> filesystem (Windows, MacOS HFS+, Cygwin, OpenVMS). However IIRC that
> always returns a lowercase filename (uppercase on VMS if Python even
> runs on that platform) so to support most operations we also need to do
> a case-insensitive path2id call. That has the potential to get ugly
> pretty quickly performance-wise, I think; but it might be worth the
> tradeoff to get better behaviour.
>
WorkingTree is already has check to detect case-insensitive
filesystem. But this info is not used very often inside bzrlib.
John C Barstow пишет:
> You can in theory use os.path.normcase to detect a case-insensitive
> filesystem (Windows, MacOS HFS+, Cygwin, OpenVMS). However IIRC that
> always returns a lowercase filename (uppercase on VMS if Python even
> runs on that platform) so to support most operations we also need to do
> a case-insensitive path2id call. That has the potential to get ugly
> pretty quickly performance-wise, I think; but it might be worth the
> tradeoff to get better behaviour.
>
WorkingTree is already has check to detect case-insensitive
filesystem. But this info is not used very often inside bzrlib.
--
All the dude wanted was his rug back