bat 自动执行 SVN 命令



set ResourceUrl=http://xxxx/xxxx/trunk (等号两边不要加空格)
set ResourcePath=Assets/Rescources

if not exist "%ResourcePath%" (
 echo %ResourcePath% not exist, now checkout
 TortoiseProc.exe /command:checkout /path:"%ResourcePath%" /url:"%ResourceUrl%" /closeonend:2
)
TortoiseProc.exe /command:update /path:"%ResourcePath%" /closeonend:2


你可能感兴趣的:(代码管理)