Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • SVN propset branch for tc6

    6 answers - 1531 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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
    when checked
    out on linux has DS 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 :)
    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 "%S%" == "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: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
  • No.1 | | 1686 bytes | |

    7/19/06, Mladen Turk <mturk (AT) apache (DOT) orgwrote:

    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
    when checked
    out on linux has DS 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 "%S%" == "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: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
    --
  • No.2 | | 2917 bytes | |

    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:
    7/19/06, Mladen Turk <mturk (AT) apache (DOT) orgwrote:
    >>

    >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
    >when checked
    >out on linux has DS 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 "%S%" == "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: dev-unsubscribe (AT) tomcat (DOT) apache.org
    >For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
    >>
    >>

    >


    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: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
  • No.3 | | 3277 bytes | |

    Hi,
    +1. Why wouldn't we want native line endings?

    Yoav

    7/19/06, Filip Hanik - Dev Lists <devlists (AT) hanik (DOT) comwrote:
    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:
    7/19/06, Mladen Turk <mturk (AT) apache (DOT) orgwrote:
    >>

    >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
    >when checked
    >out on linux has DS 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 "%S%" == "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: dev-unsubscribe (AT) tomcat (DOT) apache.org
    >For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
    >>
    >>

    >


    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: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
    --

    To unsubscribe, e-mail: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
  • No.4 | | 235 bytes | |

    I'm assuming this the the reason for the slew of svn lock messages :)
    To unsubscribe, e-mail: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
  • No.5 | | 438 bytes | |

    Jim Jagielski wrote:
    I'm assuming this the the reason for the slew of svn lock messages :)

    Right :(
    Any chance to suppress that in future?
    If someone else accidentally hits the svn lock
    on the trunk the same will happen again.

    Regards,
    Mladen.

    To unsubscribe, e-mail: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org
  • No.6 | | 725 bytes | |

    Jul 20, 2006, at 3:35 PM, Mladen Turk wrote:

    Jim Jagielski wrote:
    >I'm assuming this the the reason for the slew of svn lock messages :)
    >

    Right :(
    Any chance to suppress that in future?
    If someone else accidentally hits the svn lock
    on the trunk the same will happen again.

    With SVN the need to actually lock files, especially the
    whole tree, is pretty minimal. I've never done it, even
    when doing wholesale propsets, indenting changes, etc
    (stuff that affects almost every file)

    To unsubscribe, e-mail: dev-unsubscribe (AT) tomcat (DOT) apache.org
    For additional commands, e-mail: dev-help (AT) tomcat (DOT) apache.org

Re: SVN propset branch for tc6


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Java"

EMSDN.COM