bzr mv will not change a file's case on win32

Bug #77740 reported by Paul Pelzl
4
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Alexander Belchenko

Bug Description

bzr 0.14.0dev0 rejects attempts to change the case of a file on win32, e.g.

    bzr mv test.txt TEST.TXT

The resulting error is "bzr: ERROR: can't rename: new working file u'TEST.TXT' already exists".
One can work around this bug by a double-rename:

    bzr mv test.txt temp
    bzr mv temp TEST.TXT

Tags: win32
Revision history for this message
Alexander Belchenko (bialix) wrote :

This is because bzr don't handle well case-insensitive filesystem (i.e. Windows FAT/NTFS). So when you manually change the case of file it will be marked as removed.

There is planned to provide support for case insensitive filesystems, but this task has low priority.
https://blueprints.launchpad.net/products/bzr/+spec/case-insensitive-filesystems

Changed in bzr:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Changed in bzr:
assignee: nobody → bialix
status: Confirmed → In Progress
Changed in bzr:
milestone: none → 1.0rc1
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.