dev@glassfish.java.net

Re: ^M char in files

From: Claudio Miranda <claudio_at_claudius.com.br>
Date: Thu, 3 Apr 2008 10:51:34 -0300

    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.


-- 
 Claudio Miranda
 _______________________________________________