Cognitionis
The little I know

Subversion


The goal of the Subversion project is to build a version control system that is a compelling replacement for CVS in the open source community.

Install

sudo apt-get install subversion (http://subversion.tigris.org/).

Usage

First time

Case 1: You do not have any svn project yet

1. Create an empty svn project in your web server/domain

So then you have an svn project (continue in case 2)

Case 2: You already have an svn project

Do the first Checkout: svn co svn+ssh://hector@cognitionis.com/home/hector/svn/DEA

——–

After that you can do:

Checkout: To download updated files

Commit: To upload updated files

Add files: To add files in the version control system (then you can commit and checkout them).

Check out, Modify, Commit
As I said, the repository is stored in the svn directory which you won’t deal with. To work on your files, first you need to check a working copy out of the repository. To do so, use svn checkout:

$ svn checkout file:///home/ayman/svn

A new directory named myproj will be created containing your project files. You can work and modify them. Once you’re done and you want to store the new revision in your repository, run svn commit in the checked-out myproj directory:

$ svn commit

Subversion will open your default editor asking for a log message. Again, enter an explanation, save, and exit.

GUI software:

Rapidsvn.
Simple interface developed by Subversion develorpes.