How do I automatically update a Subversion working copy?

前端 未结 5 1750
梦毁少年i
梦毁少年i 2020-12-02 08:20

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?

5条回答
  •  一向
    一向 (楼主)
    2020-12-02 09:09

    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!

提交回复
热议问题