1@echo off 2setlocal 3rem Simple script to fetch source for external tools 4 5where /Q svn 6if ERRORLEVEL 1 ( 7 echo.svn.exe must be on your PATH to get external tools. 8 echo.Try TortoiseSVN (http://tortoisesvn.net/^) and be sure to check the 9 echo.command line tools option. 10 popd 11 exit /b 1 12) 13 14if not exist "%~dp0..\..\externals" mkdir "%~dp0..\..\externals" 15pushd "%~dp0..\..\externals" 16 17if "%SVNROOT%"=="" set SVNROOT=http://svn.python.org/projects/external/ 18 19if not exist "windows-installer\.svn" ( 20 echo.Checking out installer dependencies to %CD%\windows-installer 21 svn co %SVNROOT%windows-installer 22) else ( 23 echo.Updating installer dependencies in %CD%\windows-installer 24 svn up windows-installer 25) 26 27popd 28