Sha256: 311a694071d371cbca6be3852fc4888a3f35b4a25c32e1217958ae9cc4fa02cf
Contents?: true
Size: 591 Bytes
Versions: 25
Compression:
Stored size: 591 Bytes
Contents
@echo off SET REPOSITORIES=http://somewhere.com/svn/ SET TRUNK=trunk 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 copy %REPOSITORIES%%1/%TRUNK%/ %REPOSITORIES%%1/%BRANCHES%/%2/ -m"Creating a branch for %2." ::svn up if %ERRORLEVEL% NEQ 0 goto usage goto finish :usage echo. echo Usage: branch.bat repositoryName BranchName echo Example branch.bat Bob Feature1 echo. goto finish :finish
Version data entries
25 entries across 25 versions & 1 rubygems