line endings
Stuart McGraw
smcg4191 at frii.com
Wed Jan 30 01:46:46 GMT 2008
I am trying Bazaar (and DVCS) after many years of
using CVS. I commonly have to deal with multi-platform
code (Windows and *nix). I checkout the same code to
both Windows and *nix systems, test and develop on
both systems, check back in. When I first started
using CVS many years ago I ended up a number of times
with revisions who's only difference was line endings
(\n vs \r\n). I also trashed a few files on occasion.
But after settling on TortoiseCVS on the Windows
machines and whatever native CVS was on the *nix
machines, all those problems disappeared. I haven't
had a problem due to line ending confusion or
binary file corruption in years.
So I was very disappointed when I ran bzr on a Windows
box to branch a repo living on a linux box, to discover
all the files had *nix-style line endings. Googling
turned up a lot of discussion about this issue as it
relates to Bazaar, but I didn't see any conclusion.
Nor did I see any plugins dealing with this. A search
of the wiki turned up nothing and the FAQ is silent
on the issue.
So my question is, how does one use Bazaar so that
branches created on a Windows box will have the right
line endings? Is there some process I overlooked?
A plugin? A command option I missed? Some third party
add-in somewhere? Does Bazaar development have any
plans regarding this?
More information about the bazaar
mailing list