是否可以安排svn更新?

Gau*_*rav 14 svn tortoisesvn subversive

我使用eclipse galileo和颠覆插件或Tortoise SVN进行更新.

可以安排自动更新(例如,每晚)?如果是,是否可以将其配置为仅更新非冲突文件?

Pos*_*Man 19

我通过计划任务使用此命令 - 假设您已安装Silksvn(但任何svn客户端都会执行此操作)

"C:\Program Files\SlikSvn\bin\svn" update --accept postpone d:\SourceCode >> c:\svn.log
Run Code Online (Sandbox Code Playgroud)

它只会更新不冲突的文件,所以不用担心.

或者甚至,使用此命令从TortoiseSVN执行此操作

C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe /command:update /path:d:\sourcecode /closeonend:1
Run Code Online (Sandbox Code Playgroud)

closeonend可以是其中之一

/closeonend:0 don't close the dialog automatically 

/closeonend:1 auto close if no errors 

/closeonend:2 auto close if no errors and conflicts 

/closeonend:3 auto close if no errors, conflicts and merges 

/closeonend:4 auto close if no errors, conflicts and merges for local operations 
Run Code Online (Sandbox Code Playgroud)