여러 저장소를 checkout 받아놓고 한번에 업데이트 받을 때는 아래와 같이 svn up 을 사용하면 된다.

> svn up path_a path_b path_c

명령창으로 update 상태가 보이긴 하지만 merge 나 conflict 처리를 별도로 해야해 불편하다. TortoiseSVN 로 업데이트 한 것 처럼 사용하고 싶으면 TortoiseProc.exe 를 사용하면 된다.

> TortoiseProc.exe /command:update /path:path_a

여러 폴더는 * 문자로 구분해 주면 된다.

> TortoiseProc.exe /command:update /path:path_a*path_b*path_c
Since some of the commands can take a list of target paths (e.g. committing several specific files) the 
/path parameter can take several paths, separated by a * character.

출처 : https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html

 

Appendix D. Automating TortoiseSVN

:log Opens the log dialog. The /path specifies the file or folder for which the log should be shown. Additional options can be set: /startrev:xxx, /endrev:xxx, /limit:xxx limits the amount of fetched messages /strict enables the 'stop-on-copy' checkbox, /m

tortoisesvn.net

참고 : https://stackoverflow.com/questions/26294735/tortoisesvn-how-to-update-multiple-directory-in-a-single-window

 

TortoiseSVN: How to update multiple directory in a single window

I want to create a command file that will update my SVN. I have two different path. I have a code below that will update two unique directory. Is there a way to do it in a single line of code? @e...

stackoverflow.com

 

728x90

+ Recent posts