Sha256: cb0039f2e558115bb3e637aef801a71b0356fe2561915560415748985086ab15

Contents?: true

Size: 558 Bytes

Versions: 25

Compression:

Stored size: 558 Bytes

Contents

@echo off

SET DEVFOLDER=C:\CODE\
SET REPOSITORIES=http://somewhere.com/svn/
SET BRANCHES=branches

if '%1' == '' goto usage
if '%2' == '' goto usage
if '%3' NEQ '' goto usage
if '%1' == '/?' goto usage
if '%1' == '-?' goto usage
if '%1' == '?' goto usage
if '%1' == '/help' goto usage

svn co %REPOSITORIES%%1/%BRANCHES%/%2/ "%DEVFOLDER%\%1-%2"

if %ERRORLEVEL% NEQ 0 goto usage

goto finish

:usage
echo.
echo Usage: checkoutBranch.bat repositoryName branchName
echo Example checkout.bat Bob Feature1
echo.
goto finish

:finish

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
uppercutbuild-1.4.2.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.4.1.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.4.0.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.3.0.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.2.0.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.1.2.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.1.0.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.6.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.5.0.20101008 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.5.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.4.0 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.3.0.20100818 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.2.0.20100810 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.1.0.20100809 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-1.0.0.0.20100806 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.346.20100805 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.345.20100805 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.340 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.337 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.334 docs/Samples/scripts/SVN/checkoutBranch.bat