鸟语天空
SVN批量更新
post by:追风剑情 2014-11-20 17:57
如果希望纯命令行操作,需要安装Subversion for Windows
http://sourceforge.net/projects/win32svn/?source=typ_redirect


TortoiseSVN 写个bat。例如:

@set svn_bin=C:\Program Files\TortoiseSVN\bin
@set svn_work=%cd%\Assets
@set svn_work_res=%svn_work%\StreamingAssets\res
@set svn_work_resource=%svn_work_res%\Assets\StreamingAssets\res\resource

"%svn_bin%"\TortoiseProc.exe /command:update /path:"%svn_work_resource%" /notempfile /closeonend:2
"%svn_bin%"\TortoiseProc.exe /command:update /path:"%svn_work_res%" /notempfile /closeonend:2
"%svn_bin%"\TortoiseProc.exe /command:update /path:"%svn_work%" /notempfile /closeonend:2

echo 更新完毕!




评论:
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容