dev@glassfish.java.net

Re: ^M char in files

From: Claudio Miranda <claudio_at_claudius.com.br>
Date: Thu, 3 Apr 2008 11:55:32 -0300

    Those properties can be configured at svn client level, as you
requested, see an example extracted from $HOME/.subversion/config

### Section for configuring automatic properties.
[auto-props]
### The format of the entries is:
### file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?'). All entries which match will be applied to the file.
### Note that auto-props functionality must be enabled, which
### is typically done by setting the 'enable-auto-props' option.
# *.c = svn:eol-style=native
# *.cpp = svn:eol-style=native
# *.h = svn:eol-style=native
# *.dsp = svn:eol-style=CRLF
# *.dsw = svn:eol-style=CRLF
# *.sh = svn:eol-style=native;svn:executable
# *.txt = svn:eol-style=native
# *.png = svn:mime-type=image/png
# *.jpg = svn:mime-type=image/jpeg
# Makefile = svn:eol-style=native

Claudio Miranda

On Thu, Apr 3, 2008 at 11:35 AM, Sahoo <Sahoo_at_sun.com> wrote:
> 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.