Looking at case insensitivity - question
Jens Alfke
jens at mooseyard.com
Thu Apr 17 10:19:07 CDT 2008
FYI, I asked on one of the Apple developer mailing lists about system
calls for converting a filename or path to the canonical case; the
answer is that there is unfortunately no standard (POSIX) call, such
as realpath, that has this effect on Mac OS X.
A few ways to do this using Mac-specific APIs were suggested. I
believe these could be implemented in Mercurial without having to
write any C extensions, using the Mac OS's built-in bridging support.
It would of course require some Mac-specific Python code, but this
could be isolated in a separate module and loaded conditionally after
a platform check. Any Windows-specific equivalent could be treated the
same way, of course.
—Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1875 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080417/a580ec3c/attachment.bin
More information about the Mercurial
mailing list