On Sat, 15 Mar 2008 18:56:38 -0300 jon@...18... wrote:
As far as I know, it's a feature we've used in *all* source control software. Even when I was using RCS only it would do the proper thing. If I check out onto a linux box, I get LF. If I check out on a Windows box I get CR-LF.
Does Bazaar really not do this?!?!?!?!
It really does not - I do some stuff on another project which just switched, and ran into this. I think, not sure, that pre/post checkin/out filters in bzr aren't mature / implemented yet but could in theory be used.
However, the bzr belief, which I think probably holds true most of the time, is that most good editors will handle the various conventions transparently, so it's not an issue.
Of course the project I referred to above, the leo python editor / hierarchical data manager, doesn't transparently handle the eols, for fairly good reasons (it's not really a text editor).
I wrote a small python script that compares the working copy text file eols with the last committed version and offers to adjust to working copy versions to match, running this before diffing or committing works well for me.
Cheers -Terry