What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Guide][How To] - Multiple SVN Updates

kravitz

New Member
Joined
Dec 9, 2011
Messages
376
Reaction score
6
Just a short guide and script for those who have multiple SVN checkouts.

1. Create a NEW .txt file within any directory or on your desktop
2. Copy and paste the following code into the NEW .txt file
3. Save the contents of the .txt file
4. Rename the NEW .txt file to "anynameyouwant.bat" , without the quotes
5. Edit the .bat file you just created with notepad or your favorite editor
6. REPLACE the information I have highlighted in blue to the source of the linked SVN folder you want to update.
a. Directory MUST be listed within Quotes "[your-drive_letter]:\[your_directory_name]\Routines\MAD"


@echo off
FOR %%A IN (
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Bots\AutoAngler 2"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Bots\ProfessionBuddy"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Bots\Tyrael"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Plugins\Blacklister"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Plugins\MultiBox Suite"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Plugins\Pandaria Dailies v2"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\Bowman"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\Evo-hb"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\FeralKitty"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\FightThisWay"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\Fpsware Monk"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\KingWoW"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\MAD"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\NuckChorris"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\RichieShadowPriest"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\Shapeshifter"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\Spriest"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\Superbad"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\TheFastAndTheFury"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\TuanHADK"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\TuanHAHunter"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\TuanHAMonk"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Routines\TuanHAShadowPriest"
"F:\OHFRESH\YOUR_FOLDER_LOCATION\Questing\Kick's Mega"

) DO START TortoiseProc.exe /command:update /path:%%A /closeonend:0

Only downside is, in my case, multiple windows will pop up after 5 -10 seconds updating the SVN links. Looking for a way to suppress these windows and just confirm that updates were successful.







The above was just a solution to MANUALLY update SVN links from executing a batch file; however, you can setup schedule tasks, within TortoiseSVN, to update each SVN link.

A simple guide can be located here: Automatically Keep Your SVN Checkouts Up To Date In Windows ? Rev. 2 | Viper007Bond.com
 
Back
Top