Windows – How to automatically update a Subversion working copy

scriptingsvnwindows

Does anybody know how I can automatically run svn update? If anybody has a script or something like that, could you show me an example?

Best Solution

I'm using TortoiseSVN. On the production server I have a scheduled task that runs the following batch file.

CD C:\Program Files\TortoiseSVN\bin\
START TortoiseProc.exe /command:update /path:"C:\www\MyRepo\" /closeonend:0

Hopefully this saves someone else some time!