2006/9/13, Tony Wu <[EMAIL PROTECTED]>:
I noticed that there are some .java files in security module has set
the svn:eol-style to native, that is, a EOL marker will be added to every
line of this file when commit to repository. And when you checkout them, the
EOL marker will be replaced according your os, CRLF on windows and LF on
Unix.
so, I think you should create and apply patch on the same platform because
diff file can not handle the EOL marker :(
As far as I know Ilya experienced this problem on Windows platform
without switching to Linux or elsewhere.
SY, Alexey
IMHO, the svn:eol-style is not necessary, so that svn can store the file as
original bytes and you can retrieve it without any change. Many IDEs are
well prepared to understand the both EOL formats.
On 9/13/06, Ilya Okomin <[EMAIL PROTECTED]> wrote:
>
> On 8/17/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
>
> > Sure -- just blat them all in one go.
> >
> > Regards,
> > Tim
> >
> >
> > Nathan Beyer wrote:
> > > Does anyone have objections to setting the svn:eol-style to native for
> > > *.java, *.c, *.h, *.cpp, *.xml as we move forward with updates and
> > changes?
> > > I believe this is the suggested setting for committers [1][2]. The
> only
> > file
> > > types that I know of that must have a specific line ending are *.dsp
> and
> >
> > > *.dsw, which must be CRLF.
> > >
> > >
> > >
> > > Some files are already set this way and others are not, but if we go
> > about
> > > updating these as we move forward, this should normalize checkouts for
> > > everyone.
>
>
> Hi to all!
> Is anything done on this issue?
> I found some classes in [security] module has different eol style
> even within one package.
> When I make a patch for these classes, apply it (on Windows) - I find,
> that
> classes, that were in svn reporitory with 'unix' eol now have 'dos' eol.
> Thus if I make diff again - it shows me, that some files are to be fully
> rewrited with 'dos' eol, and I can't see the differences I've made.
> Probably I've missed something with svn settings or smth else?
>
> Thanks,
> Ilya.
>
>
> > >
> > >
> > >
> > > -Nathan Beyer
> > >
> > >
> > >
> > > [1] http://www.apache.org/dev/version-control.html#https-svn
> > >
> > > [2] http://www.apache.org/dev/svn-eol-style.txt
> > >
> > >
> >
> > --
> >
> > Tim Ellison ([EMAIL PROTECTED] )
> > IBM Java technology centre, UK.
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> --
> Ilya Okomin
> Intel Middleware Products Division
>
>
--
Tony Wu
China Software Development Lab, IBM
--
Alexey A. Petrenko
Intel Middleware Products Division
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]