Working with SVN on Windows is pretty much synonym to using TortoiseSVN I guess. If you are running a trunk version of WordPress, maintaining plugins or doing anything else collaboratively, chances are you're using this nice piece of software.
When you log to you computer to get some coding work done, what is your first task? If "I manually update several SVN repositories", the following is for you. TortoiseSVN has command line support that, even on Windows, can make things easier.
Create a batch file, name it like updateSVN.bat, and paste:
- @echo off
- FOR %%A IN (
- ) DO START TortoiseProc.exe /command:update /path:%%A /closeonend:0
A few comments:
- The "FOR %%A" loop will contain, obviously, paths to the projects you want to update.
- The "START" bit means "start asynchronously, ie don't wait for end of previous task to launch next one" so that all the Update windows will pop up simultaneously.
- the "/closeonend:0" means, you guessed, "don't close the Update window once it's done", so you can actually see what has been updated.
There you go. You can even put this .bat file in your startup folder to get things updated when you turn your computer on.
Want to share or tweet this post? Please use this short URL: http://ozh.in/jk