Case sensitivity

Alexander Belchenko bialix at ukr.net
Mon Aug 31 19:00:57 BST 2009


Vincent Ladeuil пишет:
>>>>>> "bialix" == Alexander Belchenko <bialix at ukr.net> writes:
> 
> <snip/>
> 
>     >> Ha yes, well done. Sounds a lot like what could have happened to
>     >> Larry.
>     >> 
>     >> So from there:
>     >> 
>     >> ren FOO.txt foo.txt
>     >> 
>     >> or
>     >> 
>     >> bzr mv foo.txt FOO.TXT
> 
>     bialix> bzr mv foo.txt FOO.TXT --after
> 
>     >> Should both put things back in sync right ?
> 
>     bialix> Should.
> 
>     >> I'm surprised that 'bzr st' report that on a case insensitive
>     >> working tree though...
> 
>     bialix> So, it's not "by design"?
> 
> The design is to be able to handle case sensitive file names, so,
> of course, there are limitations when the working tree is case
> insensitive (like you will never be able to checkout foo.txt and
> FOO.TXT as two separate files if both are versioned), but we
> intend to make bzr usage as smooth as possible on case
> insensitive file systems, so the case above is a bug IMHO.
> 
> Now one can argue whether the bug is that Larry added the two
> files (which should remain possible !) or that he should have
> received a loud warning instead, but let's find what happened
> first :)

With my example and bzr 1.18 I'm unable to add FOO.TXT, so bzr is semi-broken/semi-fixed.

> 
>       Vincent
> 
> 




More information about the bazaar mailing list