SVN Lite - OpenSource Lite SVN.

I’m not sure if this is pointless, but I made it for myself to do something -

Details:

Only works for X86(32bit) versions of windows with Gmod installed to default location.
Must install to C:/SVNLite (SVN.exe has to be located in C:/SVNLite/svn/svn.exe)

I made this simply for myself but decided to share it, so feel free to use it or not use it. It remember revisions/updates same as Tortoise SVN

File: www.bybservers.co.uk/gmodplay/SVNLite.zip
File: http://www.garrysmod.org/downloads/?a=view&id=84938

Credits:

Pantho - www.bybservers.co.uk
Slik Subversion for DLL/EXE files - www.sliksvn.com

Youtube Video: http://www.youtube.com/watch?v=gN4SF0H1tvg

-edit

Code, code code ?



using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace WindowsFormsApplication1
{
    public partial class SVNLite : Form
    {
        string SVNUrl;
        string SVNDir;
        string AddonName;
        public SVNLite()
        {
            InitializeComponent();
        }

        private void cmdInstall_Click(object sender, EventArgs e)
        {
            SVN();
        }
        private void SVN()
        {
            Process p = new Process();
            p.StartInfo.FileName = @"C:\SVNLite\svn\svn.exe";
            p.StartInfo.CreateNoWindow = true;
            string ProcArg = "checkout " + SVNUrl + " " + SVNDir; //"svn://localhost:3690/MyProject c:\WorkingCopy"
            p.StartInfo.Arguments = ProcArg;
            p.Start();

        }

        private void txtUser_TextChanged(object sender, EventArgs e)
        {
            string user = txtUser.Text;
            string AddonName = txtName.Text;
            SVNDir = "\"" + @"C:/Program Files/Steam/steamapps/" + user +  @"/garrysmod/garrysmod/addons/" + AddonName + "\"";
            //label1.Text = SVNDir;
        }

        private void txtUrl_TextChanged(object sender, EventArgs e)
        {
            SVNUrl = txtUrl.Text;
        }

        private void txtName_TextChanged(object sender, EventArgs e)
        {
            string user = txtUser.Text;
            string AddonName = txtName.Text;
            SVNDir = "\"" + @"C:/Program Files/Steam/steamapps/" + user + @"/garrysmod/garrysmod/addons/" + AddonName + "\"";
        }
    }
}


Using SlikSVN for exe. For self compiling you will need SlikSVN exe which is included in the download or can be downloaded from www.sliksvn.com