Subversion Svn Tutorial

Abstract

Subversion is a collaborative development tool that facilitates multiple people working on the same project distantly. You can 'checkout'(download) or 'commit'(upload) the game your are working on. Subversion is like a mmo launcher, it only downloads or uploads the data that has actually changed. That way you don't have to keep transferring large art files. This tutorial assumes you will be working on Cybernetic Cephalopod, using Eric Python Ide in Debian. Please generalize the tutorial by logging in and editing!

Installation

Run the following commands.

sudo apt install subversion
sudo apt install eric

Goto the directory you want the game installed and run this to download the game.

svn checkout https://scm.ourproject.org/anonscm/svn/cybersquid/trunk

Working on the project in Eric

Load the project.

Project -> Open -> ****.e4p

The project file should be in the top directory that was downloaded.

Update(download) to the newest version.
Project -> Version Control -> Update from repository

Code can be edited in the Sources tab at the top left. Other files can be edited in the Others tab.

Add a new file.
Right Click the file -> Version Control -> Add to repository

Commit(upload) changes to the server.
First goto the Cybernetic Cephalopod web page. Login or create a new account. Click the 'Request to join' link. You will have to weight for one of the administrators to give you commit(upload) rights. Hopefully this will be prompt, but it may take a while.
Project -> Version Control -> Commit changes to repository


If you get this error, or something similar;

svn: E215000: GNOME Keyring is locked and we are non-interactive

Then open the terminal in the project directory and run the command;
svn stat -u -v --username **** --password ****

The username and password in the command is for the server and is the same as the one for Ourproject. The command will ask for your keyring password, witch is probably the same as your computer password. If you find a better fix for this problem please edit this page!

See also

TortoiseSvn: Subversion in Windows
Subversion Manual
Eric Subversion Documentation

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License