Monticello and extra lines between platforms

Avi Bryant avi at beta4.com
Wed Jul 2 22:23:16 UTC 2003


On Wed, 2 Jul 2003, Derek Brans wrote:

> I wonder if there are different newLine characters at work here on the
> different platforms.  Either in the CVS encoding, or the Monticello
> encoding.  Has anyone encountered anything similar in their adventures?

Well, yeah.  There have been some rather long discussions about this in
the recent past.

What it boils down to is this:
- make sure, once, that your source in the image starts clean, ie, doesn't
have any extra CRs or LFs in it (LFs don't show up as blank lines, just as
extra spaces at the beginning of the line).  What you probably need to do
is file out the code, use a text editor to strip the extra line endings,
and then file back in.
- from then on, use the latest version of Monticello.  It's now very
careful to maintain line endings under any reasonable conditions.

Avi



More information about the Squeak-dev mailing list