Comment 2 for bug 120542

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 120542] Re: bzr add allows versioning of same files twice due to case-insensitive HFS+ filesystem on mac

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Bennetts wrote:
> We could perhaps try to autodetect if a HFS+ partition is case-
> insensitive by calling getattrlist(2) and looking for ATTR_CMN_NAME, as
> suggested by Martin v. Löwis at
> http://www.thescripts.com/forum/thread441007.html. It's not wrapped,
> but we could probably use ctypes for it if it's available.

For fixing merge (and TreeTransform generally), we just need to adjust
the duplicate-file detection to optionally do case-insensitive comparisons.

For prevention, I'm not sure what the best approach is.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGcsXB0F+nu1YWqI0RAsUGAJ0bj2/xNGNlcAvTLlWokRb78UWzwACfdC/m
A3NZrCZ0QXn/XdLo5482ilQ=
=f6LH
-----END PGP SIGNATURE-----