This is an improvement upon my earlier post on how to keep SVN checkouts automatically up to date.
DD32 used his awesome Googling skills to find this page in the TortoiseSVN docs that talks about automation. Turns out you can launch TortoiseSVN via the command line, have it update the folder(s), and then close when done. So here’s an updated guide.
These instructions are for Vista, but they are likely similar for XP.
- If you don’t already have TortoiseSVN installed, download and install it.
- If you don’t already have a copy of WordPress checked out to a folder, do it. WordPress’ in-development SVN URL is
- Start -> Control Panel -> Administrative Tools -> Task Scheduler
- On the right, click on “Create Task” (not the basic one)
- Fill out as follows. Paths will likely be different! Click for bigger versions.
To test it to make sure it’s working properly, delete a few non-custom files from your SVN’ed folder.
xmlrpc.php, etc. are good test files. Then click on “Task Scheduler Library” in Task Scheduler (it’s on the left), click once on your new task, and then click “Run” on the right-hand side. If it’s working properly, the files your deleted will be restored.