Svn

From GMod Wiki

Jump to: navigation, search

Contents

GMod SVN Updater

GMod SVN Updater is a program which was made for people who want to update their addons regularly and easily. It comes with a built-in database of SVNs, the user just has to choose the ones he would like to download. The user can also add their own SVNs to the database.

EasySVN

With EasySVN, you don't have to download anything. You only need a web browser and Java. EasySVN offers a choice between the SVN protocol and normal exporting. This means that addons downloaded via EasySVN with the SVN protocol option selected can be used with TortoiseSVN.

TortoiseSVN

On Videos

Written Version

Getting it installed

svntutorialdownload.jpg

svntutorialdownloadprt2.jpg

Configuring and downloading contents with SVN

9c3f53a044b11027a05d82eca605139e.png

svntutorialcopylink.jpg

3a43c28629b571c5aaa150b5df326bc9.png


svntutorialcheckoutprt2.jpg


Getting the downloaded addons working with Garry's Mod

Now comes the real pain in the ass. Exporting.

You must now right click each SVN'd addon and click TortoiseSVN -> Export, and export them into the Garrysmod/addons folder. NOTE Some addons like Wire and Stargate have subfolders, where you have to do the same on.

svntutorialexport.jpg


You might ask why you should make the folders OUTSIDE of the addons folder and not just place them directly in the addons folder and skip the Exporting? This is because when you download an addon using SVN, it makes invsible files that contain information that SVN uses (for example for knowing which files you don't yet have when you Update an addon). These files are very small, but if you put them all together, they DOUBLE the size of the addon in question. And you know that the bigger your addons folder is, the more Gmod laggs and the longer it has to load. (Note: This wasn't proved yet)

So, if you do an Export on SVN'd folders, SVN will copy that folder for you and clean it of the invisible folders, thus making your Gmod non-slowed down.

Updating an addon

svntutorialupdate.jpg

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox