World’s simplest source code updater
Update: So, I’ll fess up and admit this wasn’t the simplest. Tim Barcz did this 1 (or 2 or 3) better and simplified the script with:
FOR /D %%a IN (“*”) DO IF EXIST %%~dpa%%a\.svn svn update %%~dpa%%a
I feel like I was trying to start a fire by hitting two rocks together and Tim walked in and pulled out a box of matches.
So I went the simplest route possible to automate updating source. I have this set of commands in a file called update.cmd. In the morning I double click it and I can see any updates from the previous day.
Of course, you need to adjust the directories and project names for the projects you watch.
rem this script expects svn to be in the path