Using Subversion

From ThroneWorld

Jump to: navigation, search

Contents

Overview

MachinaMortis runs both a Subversion server which is used by the LOTE team to store sourcecode, rulebook versions and a Scarab server for bug-reporting/tracking. Our preferred SVN client is Tortoise.
Access to these resources are not public, so you'll need to contact Thomas for permission and security credentials.
Note! The following examples assume you're editing one of the Rulebooks. If you're working with the xSTATS code, you'll need to change the directory name and URLs appropriately.
Commonly accessed repositories:

How to Connect to Subversion

  1. Connect to the Internet.
  2. Download and install the Tortoise client.
  3. Make a *new*, empty \Rulebooks folder to house the rulebooks.
  4. Right click on the \Rulebooks folder and do a SVN Checkout into the folder. This is where you will need the URL listed above, as well as the Username and Password provided by Thomas.
  5. The rulebook files will download into \Rulebooks, and you'll get a .svn sub-folder.

How to add a file to Subversion

  1. Now move the new file into \Rulebooks.
  2. Right-click the new file and choose Tortoise SVN | Add
  3. The new file will get a blue + sign.
  4. Right-click on \Rulebooks again and choose SVN Commit.
  5. This will post the new file to the Subversion repository.

Editing files stored in Subversion

  1. Connect to the Internet.
  2. Right-click on the \Rulebooks folder. Choose SVN Update to check for any new changes on the server. (always, always do this... always)
  3. Now you can disconnect and edit away... when you're done:
  4. Connect to the 'net.
  5. Right-click on \Rulebooks and choose SVN Commit to push up your changes.
Personal tools