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-0.9.0.331 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.328 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.327 docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.326 lib/docs/Samples/scripts/SVN/checkoutBranch.bat
uppercutbuild-0.9.0.325 lib/Samples/scripts/SVN/checkoutBranch.bat