[MERGE] Rename on Windows is able to change filename case. (#77740)

Aaron Bentley aaron.bentley at utoronto.ca
Mon Nov 12 16:48:11 GMT 2007


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

Alexander Belchenko wrote:
> I'm also like to see the complete fix, but we need some way
> to detect case-insensitivity first.

I'm not sure that's true.  We could handle it this way:

rename target -> tmp (success)
rename src -> target (failure)
rename tmp -> target (success)

We would be subject to race conditions, but fancy_rename already is.

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

iD8DBQFHOIPL0F+nu1YWqI0RAkI7AJ9kHXbWo3wJgYI8JkYAIjUzSV0DeACeOFI4
Vd12o+LAggs7D4O9tkzMxhI=
=yLT7
-----END PGP SIGNATURE-----



More information about the bazaar mailing list