line endings

Lucio Crusca lucio at sulweb.org
Thu Jul 12 12:58:50 UTC 2012


Hello *,

I'm new to Bazaar (and to SCM systems in general). I'm trying to share a 
single Bazaar repository hosted on a Windows share with two developer 
workstations, one Windows, the other Linux, and I need the Linux workstation 
to convert line endings as needed between updates and commits.

I'm the developer at the Linux box. Here is what I've written in my 
$HOME/.bazaar/rules file:

[name *.png]
eol = exact

[name *.jar]
eol = exact

[name *.zip]
eol = exact

[name *.war]
eol = exact

[name *]
eol = native

However when I touch a single line in a file, bzr diff, bzr update, bzr commit 
see the whole file as it had been completely changed, I suppose because of the 
line endings.

Assuming the problem was an empty $BZR_HOME, I also tried to

$ export BZR_HOME=$HOME

but nothing changed. I'm using Bazaar 2.6.0dev2.

Any help?




More information about the bazaar mailing list