06
SVN batch file with tortoise
Posted by Technocrat | Posted in Technocrat | Posted on 06-05-2009
I do a lot of projects using SVN (now linked to projects on Assembla). Because I have so many and might work on 3 or 4 over a period of a couple of days I found myself wondering if I could make a batch file to update or commit all my projects at once. That way I don’t have to go to the project directory everytime and do it. I use tortiose for my windows SVN client and found with Google’s help how to do it. First you need a .bat file. Simple enough to do just start a new file in notepad and when you save it change it to a .bat.
Now all you need is one line.
TortoiseProc.exe /command:commit /path:”C:\project path\” /closeonend:2
For commit or:
TortoiseProc.exe /command:update /path:”C:\project path\” /closeonend:2
For updating. Then just put in as many lines as you need for all your projects.

