160,9 → 160,9 |
if "%svnpath%"=="0" for %%S in (svn.exe) do if exist "%%~dp$PATH:S" set svnpath=%%~dp$PATH:S |
|
chdir /d "%addondir%" |
if not "%svnpath%"=="0" if exist ".svn" call :svn_action |
if not "%svnpath%"=="0" call :svn_action |
chdir /d "%addonhrpdir%" |
if not "%svnpath%"=="0" if exist ".svn" call :svn_action |
if not "%svnpath%"=="0" call :svn_action |
|
goto end |
|
169,6 → 169,8 |
:svn_action |
set PATH=%PATH%;%svnpath% |
for /f "delims=" %%a in ('svnversion.exe .') do @set oldrev=%%a |
if "%oldrev%"=="exported" goto :eof |
if "%oldrev%"=="Unversioned directory" goto :eof |
"svn.exe" update |
for /f "delims=" %%a in ('svnversion.exe .') do @set rev=%%a |
if %rev% EQU %oldrev% goto :eof |