Last active
April 1, 2022 19:00
-
-
Save gustavo8000br/5390c1fe0891e665fbaec6f4008db0df to your computer and use it in GitHub Desktop.
Tool for update all TRUNK'S of one project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ECHO OFF | |
| TITLE Tool update all TRUNK of this project | |
| CLS | |
| ECHO Updating trunk of SVN project | |
| ECHO ============================== | |
| FOR /d %%i IN (TRUNK) DO ( | |
| IF EXIST "%%i\.svn" ( | |
| ECHO DIRECTORY: %%i | |
| CMD /c "cd %%i && svn update" | |
| ECHO ============================== | |
| ) | |
| ) | |
| ECHO "Update has completed" | |
| TIMEOUT 5000 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works fine too if change "svn" to "git". Only need change line "7" and "9". Change code for your necessity
Exemple: