On Thu, 23 Aug 2007 22:05:42 +0200
DarekM <[EMAIL PROTECTED]> wrote:
> Henry Vermaak pisze:
> > On 23/08/07, DarekM <[EMAIL PROTECTED]> wrote:
> >
> >> Hi
> >>
> >> How to disable changing EndOfLine mark by Lazarus.
> >> I have source written under Delphi with CRLF on each line. I try
> >> to edit this file
> >> under Lazarus in Linux. But unfortunately he change all lines to
> >> LF. But when I try to sent this come back by SVN whole file is
> >> inside DIFF (all lines have changed EOL).
> >>
> >>
> >
> > svn should take care of this if you set the eol-style property to
> > native. i'm not really sure if this is your problem, though. you
> > can also tell most diff programs to ignore eol chars.
> >
> >
> Thx. That resolve my problem wih SVN, but not all. I expect then
> programmer editor don't change lines, which I dot'n touch. I work On
> WIN and Linux in then same LAN and edits some of files. Delphi never
> change anything. When Lazarus changed EOL to LF, Delphi can work with
> it, but in second side not?
If your svn is setup correctly, then checking out a .pas file under
windows should give crlf and checking it out under linux should
give lf.
If lazarus would under linux create crlf it would be wrong: When svn
finds the wrong line endings it will complain.
> Should I post it to mantis or prepare patch to new feature?
I guess the bug is somewhere else, but maybe this feature can be
useful for other cases, so feel free to provide a patch.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives