You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Su...@ubs.com on 2007/12/11 18:37:34 UTC

Subversion with Visual Studio - EOL style

Hi All,

	I imported a Visual Studio project in Subversion , the IDE was
not able to identify the .sol (visual studio specific files) because of
the EOL style.
I ran a command  find * |xargs svn propset svn:eol-style "CRLF"  to
manually change the EOL style to CRLF.

Once, the changes were committed, after we edit the same files and try
commiting the changes, we get "Unrecognized line ending "
Can someone please help to identify the issue and some fixes for the
same ?


Thanks,
Sumit

Re: Subversion with Visual Studio - EOL style

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 11, 2007, at 12:37, <Su...@ubs.com>  
<Su...@ubs.com> wrote:

> I imported a Visual Studio project in Subversion , the IDE was not  
> able to identify the .sol (visual studio specific files) because of  
> the EOL style.
>
> I ran a command  find * |xargs svn propset svn:eol-style "CRLF"  to  
> manually change the EOL style to CRLF.
>

You set svn:eol-style to CRLF on all files? Make sure you didn't have  
any binary files in there. You should not set this property on binary  
files, as doing so will likely corrupt those files.

> Once, the changes were committed, after we edit the same files and  
> try commiting the changes, we get "Unrecognized line ending "
>
> Can someone please help to identify the issue and some fixes for  
> the same ?
>

Can you please show us the output of "svn status" (to see which files  
are modified pending commit), the output of "svn commit" (presumably  
the "Unrecognized line ending" error you mentioned above), and the  
output of "svn proplist -v foo" where foo is the file about which the  
error is being printed, or if you cannot tell which file, then every  
file output by "svn status"? Also, please let us know what version of  
Subversion you have on the client and what OS this is (presumably  
Windows something?).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org