dev@glassfish.java.net

Re: ^M char in files

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 03 Apr 2008 20:05:31 +0530

Thanks, Claudio. When new files are added, we have to again set the
properties, right? Can user use the auto-props setting in their svn
client for all .java, .xml and other known extensions? That way, when
new files are added, they are automatically taken care of.

Thanks,
Sahoo
Claudio Miranda wrote:
> Subversion has an property to configure the EOL
>
> svn:eol-style - One of 'native', 'LF', 'CR', 'CRLF'.
>
> It can be done this way
>
> find . \( -name .svn \) -prune -o -type f -print -exec svn propset
> svn:eol-style 'LF' {} \;
>
> No matter the EOL style the file is being commited, but svn will
> take care of that
>
> Claudio Miranda
>
> On Thu, Apr 3, 2008 at 10:38 AM, Sahoo <Sahoo_at_sun.com> wrote:
>
>> Windows users,
>>
>> Can you please make sure that the files don't contain ^M when you check in?
>> svn may have a way configuration option for that, or just use some other
>> mechanism to avoid checking in files with ^M in it. Some of us take the
>> extra pain to remove them, but again they come back. Appreciate your
>> cooperation.
>>
>
>
>