End of line characters in bzr
Nicholas Allen
allen at ableton.com
Thu Nov 2 13:03:00 GMT 2006
Hi,
Just wondering how bzr deals with EOL characters. In the repository they
are stored only as \n but in working tree they use the native OS line
ending style don't they?
I just wanted to try branching in bzr on our repository and copying the
files from a subversion working copy of an svn branch into the bzr
working tree and committing. But when I do so it says that every line
changed and if I diff it then the only difference is the line end
character (and of course the other changes I made in my svn branch
working copy). If bzr uses the OS EOL character (and I'm sure that svn
does too) then there should not be any difference in the EOL.
Is there any way to get bzr to ignore end of line character changes and
not commit them? If they are always stored in the repository as \n then
shouldn't this just be the default option for commit, diff, and status?
Nick
More information about the bazaar
mailing list