123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- @echo off
- @echo =========================
- @echo author IT
- @echo =========================
- rem SVN安装目录
- set svn_home=C:\Program Files\TortoiseSVN\bin
- rem SVN工作目录
- set svn_work=E:\lyfz-project.org
- set svn_work1=E:\lyfzClassicWeb
- set svn_work2=E:\CodeOfERPIintegrate
- set svn_work3=E:\CodeOfNewERP
- set svn_work4=E:\CodeOfOldERP
- set svn_work5=E:\common
- set svn_work6=E:\filezilla-project.org
- set svn_work7=E:\HRepository
- set svn_work8=E:\IOS.Project
- set svn_work9=E:\lyfzQA
- set svn_work10=E:\lyfzSource
- set svn_work11=E:\NewCRM
- set svn_work12=E:\TheCompany
- set svn_work13=E:\ThirdParty
- set svn_work14=E:\TortoiseSvn
- rem SVN日志目录
- set setup_path=E:\
- @echo 正在更新目录 %svn_work%
- if exist %svn_work% GOTO :gengxin else GOTO :MK
- :MK
- @echo 请检查您的工作目录是否正确
- echo & pause GOTO :END
- @echo 更新完成退出
- goto :END
- :END
- exit
- :gengxin
- if exist "%setup_path%"\autoUpdate.log (echo update: %date% %time% >> "%setup_path%"\autoUpdate.log) else echo create: %date% %time% >"%setup_path%"\autoUpdate.log
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work1%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work2%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work3%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work4%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work5%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work6%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work7%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work8%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work9%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work10%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work11%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work12%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work13%" /notempfile /closeonend:1
- "%svn_home%"\TortoiseProc.exe/command:update /path:"%svn_work14%" /notempfile /closeonend:1
- exit
|