[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] Re: TSVN Add displays contents of ignored directories

From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2005-01-20 13:02:18 CET

Lübbe Onken schrieb:

> I'll just copy it into our FAQ at berlios.de :-)

Fine.
BTW, here is the .cvsignore to svn:ignore script I mentionend there.

Norbert

@echo off

echo This program imports all .cvsignore contents into the svn:ignore property.
echo.
echo Current directory: "%cd%"
echo.

pause

echo.
echo Searching ...
call :CheckCVS "%cd%"
for /D /R %%i in (*) do call :CheckCVS "%%i"
echo Done

:: Ende
goto :eof

:CheckCVS
        set _cvs=%~1\.cvsignore
        echo Path "%~1"
        if exist "%_cvs%" (
           echo setting "%_cvs%"
           svn propset svn:ignore -F "%_cvs%" "%~1"
        )
        set _cvs=
goto :eof

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 20 13:03:16 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.