SVN by gm_cmd

The way to SVN-update/checkout your addons.

It use gm_cmd module and command-line SVN. In archive pretty simple script for autoupdate and console commands for checkout and update.

Difference from gm_svn:
[ul]
[li]Works :slight_smile: (gm_svn can’t require after recent update)[/li][li]Checkout (gm_svn can’t)[/li][/ul]
But:
[ul]
[li]You should install SlikSVN[/li][li]You can’t return revision of addon (because can’t get cmd-output)[/li][/ul]

Install:
[ol]
[li] Install SlikSVN (or another)[/li][li] Unpack archive to %USERNAME%/garrysmod/garrysmod/[/li][li] Edit variable in lua/autorun/svn_example.lua if you want autoupdate[/li][li] Play :)[/li][/ol]

In-game concommands:

svn_update <addon-folder>
svn_checkout <addon-folder> <URL>

Download

gm_cmd and source code you can read in this thread.

Where’s the source code?

Oh, I forgot, added link to gm_cmd-thread.