--- Jeff Smith <jsmith@robotronics.com> wrote:
> Has anyone mentioned this as a known bug?
> I try to 'add' a source tree with auto-props
> (svn:eol-style=native).
> It turns out the file has "Inconsistent line ending
> style". The bug
> is that it did add it anyway, even though it aborted
> and did not add
> the rest of the files.
>
> # svn add main.c
> svn: File 'main.c' has inconsistent newlines
> svn: Inconsistent line ending style
> # svn st
> A main.c
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
>
>
I see it too. The behavior of svn version 1.4.2
(r22196) is:
When adding multiple files with --auto-props it adds
the file and then sets the svn:eol-style property. If
the svn:eol-style can't be set due to mixed EOLs then
processing immediately stops. This leaves you in a
state where:
$ svn add file_*.txt --auto-props
A file_1.txt
A file_2.txt
svn: File 'file_3.txt' has inconsistent newlines
svn: Inconsistent line ending style
$ svn stat
A file_1.txt
A file_2.txt
A file_3.txt
? file_4.txt
? file_5.txt
$ svn pl -v file_*.txt
Properties on 'file_1.txt':
svn:eol-style : native
Properties on 'file_2.txt':
svn:eol-style : native
svn: warning: 'file_4.txt' is not under version
control
svn: warning: 'file_5.txt' is not under version
control
____________________________________________________________________________________
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile. Get started!
http://mobile.yahoo.com/services?promote=mail
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 6 14:41:51 2007