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]