Hi, +1. Why wouldn't we want native line endings? Yoav
On 7/19/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
I would support this effort, I've been nailed a few times by line endings and them being inconsistent. there are so many files in SVN for TC right now that have windows line endings. Filip Costin Manolache wrote: > On 7/19/06, Mladen Turk <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have created a branch that shows the difference between >> current trunk and the new one wit correctly set >> svn:eol-style and svn:executable >> >> For example the >> java/org/apache/catalina/Context.java when checked >> out on linux has DOS line endings with those ugly ^M. >> The same file with svn:eol-style native from the >> svn_props branch is perfect both on linux and windoze. >> >> Any objections I apply that to the trunk? >> Remy said -1, but I hope he changes his mind :) > > > -1 for what reason ? > > Please get rid of the ugly CRLF ! > > Costin > > > > In any case I'll delete the branch after 24 hrs. >> >> Here is the script I used for that: >> (name it to svnprops.bat) >> >> @echo off >> if "%OS%" == "Windows_NT" setlocal >> >> if "%1" == "" ( >> set SCRIPT_NAME=%~f0 >> ) else ( >> set SCRIPT_NAME=%~f1 >> ) >> >> for /D %%i in (*) do ( >> cd %%i >> svn propset svn:eol-style native *.java >> svn propset svn:eol-style native *.properties >> svn propset svn:eol-style native *.xml >> svn propset svn:eol-style native *.html >> svn propset svn:eol-style native *.txt >> svn propset svn:eol-style native *.java >> svn propset svn:eol-style native *.sh >> svn propset svn:eol-style native *.bat >> svn propset svn:executable *.sh >> svn propset svn:executable *.bat >> svn propset svn:executable *.exe >> svn propset svn:mime-type image/gif *.gif >> svn propset svn:mime-type image/jpeg *.jpg >> >> call %SCRIPT_NAME% %SCRIPT_NAME% >> cd .. >> ) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.1/391 - Release Date: 7/18/2006 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]