[MERGE] Rename on Windows is able to change filename case. (#77740)
Alexander Belchenko
bialix at ukr.net
Mon Nov 12 17:00:39 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley пишет:
> 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)
This scenario describe how fancy_rename is actually work, but at last step after rename tmp->target
fancy_rename raise error to indicate failure. This scenario cannot distinguish between cases
when src and target is the same file on case-insensitive filesystem and case when src does not
exists on case sensitive filesystem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHOIa3zYr338mxwCURAqWmAJ4tkkvlLOtHzkTHyJE5Y9LT156B6wCfWhv8
PRMItkxEjKfofuskpM6Cym8=
=ucCo
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list