Hi,
I just realized that some of the text (including Java) files in our SVN repo
still don't have the "svn:eol-style" property set to "native". As a result,
it will cause messy diffs between Unix (LF) and Windows (CRLF). The concern
was raised before [2].
Tuscany committers, I would like to remind you to check your SVN client
configurations [3]:
For each Tuscany committers, they should configure properties in the
per-user SVN config. On Unix-like systems, it is <user
home>/.subversion/config. On Win32 systems, it is <user home>\Application
Data\Subversion\config (by the way, the Application Data folder is usually a
hidden directory).
Please make sure the following properties are set in the "config" file. We
have a template at [4].
[miscellany]
...
enable-auto-props = yes
[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
*.java = svn:eol-style=native;svn:keywords=Rev Date
*.xml = svn:eol-style=native;svn:keywords=Rev Date
*.xsd = svn:eol-style=native;svn:keywords=Rev Date
*.wsdl = svn:eol-style=native;svn:keywords=Rev Date
*.composite = svn:eol-style=native;svn:keywords=Rev Date
*.html = svn:eol-style=native;svn:keywords=Rev Date
*.properties = svn:eol-style=native;svn:keywords=Rev Date
*.jelly = svn:eol-style=native;svn:keywords=Rev Date
*.ipr = svn:eol-style=native
*.iml = svn:eol-style=native
I'll probably do a batch to fix the existing files.
Thanks,
Raymond
[1] http://svn.apache.org/viewvc?rev=794962&view=rev
[2]
http://markmail.org/message/kydc2535whfhass3?q=tuscany+svn+eol-style&page=1&refer=filw2u2tb2txr5xx
[3]
http://tuscany.apache.org/sca-java-development-guide.html#SCAJavaDevelopmentGuide-GettingSource
[4] https://svn.apache.org/repos/asf/tuscany/java/etc/svn-config.
---
Raymond Feng
Apache Tuscany PMC Member: http://tuscany.apache.org
Co-author of Tuscany In Action: http://www.manning.com/laws