Possible Patch: Allow Renaming to Different Case
Fredrik Lundh
fredrik at pythonware.com
Mon Apr 25 08:30:01 BST 2005
Michael Cook wrote:
> My only two thoughts are to either check some unique property
> of the file to see if the two files are the same (say the inode number),
> or to make a check to see if you are on a case-insensitive filesystem
> and test the condition in the patch only if that is true.
if you change the code to use os.path.normcase(s) instead of s.lower(),
things should work properly on all platforms.
(I see that none of my patches are in 0.0.4 :-(, so I'm not going to pre-
pare a patch for this one...)
</F>
More information about the bazaar
mailing list