Wednesday, 15 May 2013

TortoiseSVN: How to update multiple directory in a single window -



TortoiseSVN: How to update multiple directory in a single window -

i want create command file update svn. have 2 different path.

i have code below update 2 unique directory. there way in single line of code?

@echo off cd c:\program files\tortoisesvn\bin\ start tortoiseproc.exe /command:update /path:"c:\files\svn repository\_testing" /closeonend:0 start tortoiseproc.exe /command:update /path:"c:\files\svn repository\_uat" /closeonend:0

i want this: http://i.stack.imgur.com/1sfc3.jpg

thanks in advance!

from the documentation:

since of commands can take list of target paths (e.g. committing several specific files) /path parameter can take several paths, separated * character.

one of examples @ end of page demonstrates this:

tortoiseproc.exe /command:commit /path:"c:\svn_wc\file1.txt*c:\svn_wc\file2.txt" /logmsg:"test log message" /closeonend:0

so should set both paths separated *. try:

start tortoiseproc.exe /command:update /path:"c:\files\svn repository\_testing*c:\files\svn repository\_uat" /closeonend:0

tortoisesvn

No comments:

Post a Comment