Case sensitivity
Alexander Belchenko
bialix at ukr.net
Mon Aug 31 15:30:13 BST 2009
Vincent Ladeuil пишет:
>>>>>> "bialix" == Alexander Belchenko <bialix at ukr.net> writes:
>
> bialix> Vincent Ladeuil пишет:
> >>>>>>> "LD" == Larry Drews <ldrewsNOSPAM at thesoftwareronin.com> writes:
> >>
> LD> Alexander Belchenko <bialix at ukr.net> wrote in news:h7ggaf$b4h$1
> LD> @ger.gmane.org:
> >>
> >> >> >> Actually bzr has very good support for renames,
> >> and if you treat change >> of case as rename (even
> >> implicit) and you commit this rename explicitly, >> then
> >> there is no history hell as you describe it.
> >>
> >> I thought we had some support for that, I even say Mark Hammond
> >> worked pretty hard in that area, am I misremembering or did a
> >> patch to that effect never land ?
>
> bialix> IIUC Mark's patch to fix `bzr add wRonGcASe.txt` has landed. IIUC
> bialix> it was only one patch to improve this are, and very valuable
> bialix> nevertheless. Although it was easiest piece of the "puzzle"
> bialix> because add command has luxury to filter its arguments till they
> bialix> hit dirstate.
>
> Thanks for helping my failing memory.
>
> Then I fail to understand how the same file (modulo the case) can
> be added then, shouldn't that patch guard against that ?
>
> Or is there some other scenario I miss here ?
IIUC:
C:\Temp>bzr init 1
Created a standalone tree (format: pack-0.92)
C:\Temp\1>echo foo > foo.txt
C:\Temp\1>bzr add FOO.txt
adding foo.txt
C:\Temp\1>bzr st
added:
foo.txt
C:\Temp\1>bzr ci -m "so far so good"
Committing to: C:/Temp/1/
added foo.txt
Committed revision 1.
C:\Temp\1>ren foo.txt FOO.TXT
C:\Temp\1>bzr st
removed:
foo.txt
unknown:
FOO.TXT
>
> Or did Larry used different branches that he later merge ?
>
> Vincent
>
>
>
>
More information about the bazaar
mailing list