Demonbuddy for Season 16 released, updates.buddyauth.com !
  • Visit Rebornbuddy
  • Visit Demonbuddy

SVN Multiple updates with ONE CLICK!

Discussion in 'Rebornbuddy Guides' started by xtreme3881, Dec 15, 2015.

  1. xtreme3881

    xtreme3881 Member

    Joined:
    Apr 4, 2010
    Messages:
    241
    Likes Received:
    5
    Trophy Points:
    18
    Over the years of Honorbuddy, FFXIV, Demonbuddy, etc etc I have come up with my own way of updating all my SVN's at once. I was sick of having to click each file to update. As many of us know if you have multiple products and 10-20 SVN folders that need updating in different locations this becomes a HUGE pain! Since the buddystore has opened up for WoW its been a lot less, but still use a lot in demonbuddy, FFXIV, etc....

    This has worked for me over the years, and has never broke even after multiple updates. This will only work with the following program that we all use....TortoiseSVN

    Setup
    1. Download TortoiseSVN
    2. Install it as you normally would, but when you get to the features you want installed make sure "COMMAND LINE CLIENT TOOLS" is checked and not 'X' like the picture below is
    3. Once fully installed restart your computer
    [​IMG]

    **Note - Nothing is different outside installing command line client tools, that you did before with SVN's. What the feature does is allow you to run a batch file that will communicate with TortoiseSVN**

    Setting up the batch file
    1. Open Notepad
    2. Copy the below code and paste into Notepad
    3. Now what you want to do is just edit the RED between the quotes! You can copy and paste as many lines as you want, but again whatever you copy and paste make sure its placed between the blue parts
    4. Save the Notepad file as a .bat (Make sure you can see windows extensions and its not Notpad.bat.txt)
    5. Double click the Notepad file and it will update all your SVN's
    6. You can save the file wherever you want. Doesn't need to be in any special location

    **Note: Your SVN location can be in different locations, and don't need to be in the same directory**

    SIDE NOTES ON HOW THIS WORKS
    In my example I'm going to use "y2krazy" on what he post. He states to copy his svn link "https://github.com/y2krazy/profiles/trunk/RebornBuddy" and place it inside the the profiles folder. Once that part is complete the committed SVN is in a Windows location such as "C:\desktop\Rebornbuddy\Profiles\y2krazy". In a nutshell you need the SVN folder created with the users SVN link, and then you take its Windows directory location and copy/paste between the blue code WITH THE QUOTES AROUND IT! I can't stress enough that what you paste in the quotes is your WINDOWS SVN FOLDER LOCATION AND NOT THE ACTUAL SVN LINK THE PROFILE CREATOR LINKS

    Example that follows the directions above
    Code:
    [COLOR=#0000ff]@echo off[/COLOR][COLOR=#0000ff]SET A=""[/COLOR]
    [COLOR=#0000ff]FOR %%A IN ([/COLOR]
    
    
    [B]"[/B][COLOR=#ff0000][B]C:\Users\me\Desktop\Rebornbuddy 1.0.358.0\Profiles\y2krazy[/B][/COLOR][B]"[/B]
    [B]"[/B][COLOR=#ff0000][B]C:\Users\me\Desktop\Rebornbuddy 1.0.358.0\Plugins\ExBuddy[/B][/COLOR][B]"[/B]
    
    
    [COLOR=#0000ff]) DO CALL :CONCAT %%A[/COLOR]
    [COLOR=#0000ff]TortoiseProc.exe /command:update /path:"%A:"=%" /closeonend:0;[/COLOR]
    [COLOR=#0000ff]goto :eof[/COLOR]
    [COLOR=#0000ff]
    [/COLOR]
    [COLOR=#0000ff]:CONCAT[/COLOR]
    [COLOR=#0000ff]set A=%A%%1*[/COLOR]
    [COLOR=#0000ff]
    goto :eof[/COLOR]


    Example of an older updater I had with A LOT more entries

    Code:
    [COLOR=#0000ff]@echo off[/COLOR][COLOR=#0000ff]SET A=""[/COLOR]
    [COLOR=#0000ff]FOR %%A IN ([/COLOR]
    
    
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Default Profiles\85+"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Default Profiles\botanist-hb-profiles"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Default Profiles\buddy-profiles.honorbuddy"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Default Profiles\e-mog-pack"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Default Profiles\madebymakkli"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Default Profiles\Profession"[/COLOR]
    [COLOR=#ff0000]
    [/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Plugins\PimpMyGuild"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\HBRelog\HBRelog"[/COLOR]
    [COLOR=#ff0000]
    [/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\RichieShadowPriest"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHADeathKnightWoD"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHADruidWoD"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHAHunterWoD"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHAMonkWoD"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHAPaladinWoD"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHARogueWoD"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHAShamanWoD"[/COLOR]
    [COLOR=#ff0000]"E:\Saved Games\Honorbuddy\Routines\TuanHAWarriorWoD"[/COLOR]
    [COLOR=#ff0000]
    [/COLOR]
    [COLOR=#ff0000]"E:\World of Warcraft\Interface\Addons\SuperGuildInvite"[/COLOR]
    
    
    [COLOR=#0000ff]
    [/COLOR]
    [COLOR=#0000ff]) DO CALL :CONCAT %%A[/COLOR]
    [COLOR=#0000ff]TortoiseProc.exe /command:update /path:"%A:"=%" /closeonend:0;[/COLOR]
    [COLOR=#0000ff]goto :eof[/COLOR]
    [COLOR=#0000ff]
    [/COLOR]
    [COLOR=#0000ff]:CONCAT[/COLOR]
    [COLOR=#0000ff]set A=%A%%1*[/COLOR]
    [COLOR=#0000ff]
    goto :eof[/COLOR]
     
    Dgame and y2krazy like this.
  2. Dgame

    Dgame Member

    Joined:
    Aug 19, 2014
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    16
    Did i ever tell you, you're my HEEEEERRRROOOOOOO?!

    Thanks a ton for this!
     
  3. xtreme3881

    xtreme3881 Member

    Joined:
    Apr 4, 2010
    Messages:
    241
    Likes Received:
    5
    Trophy Points:
    18
    Glad I can help you out!
     

Share This Page