[REPOST][BUG] Issue

Alexander Belchenko bialix at ukr.net
Thu Nov 15 10:31:20 GMT 2007


QbProg пишет:
> Yes, it was the problem. I didn't noticed it earlier because I always 
> did -V !
> The problem wasn't a rename, but a "Add " with a different file name.
> 
> I have folder ..../CCDK3/SOURCE
> 
> I added it as
> C:\Librerie\BuildingBlock\CCDK3\> bzr add Source/*.cpp  
> but what I needed to do was
> C:\Librerie\BuildingBlock\CCDK3\> bzr add SOURCE/*.cpp  
> 
> I always use Capitalized file names and it was wrong. But I think this 
> could considered a Bazaar bug. 

Yes, it's definitely *the Bug*.

> You have two options:
> - When you add a file with a different case file name you should not add 
> it , giving a "not found error".
> - Detect such mistakes and correct case automatically (automatically 
> convert Source -> SOURCE)
> 
> - (Implement case unsensitive operations.)
> 
> This mixed approach (I suppose you use system functions for file 
> enumeration in the add command) is really bad, since a Windows user has 
> the bad habit to ignore filename case, and sometimes bazaar works and 
> sometimes not.
> I don't know how much Windows version has priority, for FOR the windows 
> version, this is high priority !

I know, I working with Windows everyday. Unfortunately there is too
small developers, who want/can work on Windows support.
So, please be patient with us. It will take some time,
and 1.0 will be released without proper support of case-insensitive
filesystem.

> 
> Really thanks for your support, I'll go on with correct file names!
> 
> QbProg
> 
> 2007/11/15, Alexander Belchenko <bialix at ukr.net <mailto:bialix at ukr.net>>:
> 
>     -----BEGIN PGP SIGNED MESSAGE-----
>     Hash: SHA1
> 
>     QbProg пишет:
>      >
>      > Now , here comes the problem.
>      > C:\Devel> bzr status -V
>      > removed:
>      > a.cpp
>      > b.cpp
>      > .
>      > .
>      > .
>      > .
> 
>     One possible variant is that some files in your tree is change their
>     case,
>     i.e. was 'a.cpp' and now it 'A.CPP'. Up to now bzr handle
>     case-insensitive
>     filesystem as case-sensitive one and don't understand that ' a.cpp'
>     and 'A.CPP'
>     is the same file on FAT32/NTFS. There are couple of bugs reported:
> 
>     https://bugs.launchpad.net/bzr/+bug/77740
>     https://bugs.launchpad.net/bzr/+bug/77744
> 
>      >
>      > In fact, all the files of my previous two commits appeared as
>     "removed".
>      > (the file in my checkout were of course present)
> 
>     May be case-insensitivity is your case. Can you try to run status
>     without '-V' flag, in this case
>     you should see report like this:
> 
>     removed:
>       a.cpp
>     unknown:
>       A.CPP
> 
>     Can you check it?
>     -----BEGIN PGP SIGNATURE-----
>     Version: GnuPG v1.4.6 (MingW32)
>     Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
>     iD8DBQFHO/7tzYr338mxwCURApaFAJ9E/hhyXWQrn5AP4VHkWg8rybAWlgCfXSBA
>     ibvpKVfi/BHqSY+ypIWzAp0=
>     =nMNK
>     -----END PGP SIGNATURE-----
> 
> 




More information about the bazaar mailing list