[MERGE] Make 'mv a b' work for already renamed directories, like it does for files
Alexander Belchenko
bialix at ukr.net
Tue Feb 12 08:54:33 GMT 2008
Lukáš Lalinský пишет:
> On Po, 2008-02-11 at 20:40 -0500, Alexander Belchenko wrote:
>> Alexander Belchenko has voted comment.
>> Status is now: Waiting
>> Comment:
>> Your patch lacks support for case-insensitive filesystem. In the case of
>> renaming directory and change only case `bzr mv` reports about error:
>
> So it currently does for both files and directories, with or without
> --after.
No, I disagree here:
C:\Temp\1>bzr init
C:\Temp\1>echo > foo
C:\Temp\1>bzr st
? foo
C:\Temp\1>bzr add
added foo
C:\Temp\1>bzr ci -m 1
Committing to: C:/Temp/1/
added foo
Committed revision 1.
C:\Temp\1>ren foo Foo
C:\Temp\1>bzr st
? Foo
D foo
C:\Temp\1>bzr mv foo Foo
foo => Foo
C:\Temp\1>bzr st
R foo => Foo
C:\Temp\1>bzr version
Bazaar (bzr) 1.1.0.candidate.1
Python interpreter: C:\Program Files\Bazaar\python25.dll 2.5.1.final.0
Python standard library: C:\Program Files\Bazaar\lib\library.zip
bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
Bazaar configuration: C:\Documents and Settings\modul98\Application Data\bazaar\2.0
Bazaar log file: C:\Мои документы\.bzr.log
Copyright 2005, 2006, 2007 Canonical Ltd.
http://bazaar-vcs.org/
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
> The patch was not supposed to fix case-insensitivity problems
> in `bzr mv`.
This problem for renaming files on CIF was fixed before 1.0.
> All I wanted was an equivalent operation to `bzr mv file1
> file2`, where file1 was already renamed to file2, which I think the
> patch does and is an improvement.
I'm still think that your patch lacks case-insensitive filesystem support.
Sorry.
More information about the bazaar
mailing list