This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:cvs_on_sdf [2011/04/30 14:39] – created clemens | tutorials:cvs_on_sdf [2012/05/01 19:49] (current) – Add $ID tag memnon | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Table of Contents ===== | ===== Table of Contents ===== | ||
- | * [[#sec-1|1 Introduction]] | + | * [[#1 Introduction]] |
- | * [[#sec-2|2 Creating A Repository]] | + | * [[#2 Creating A Repository]] |
- | * [[#sec-3|3 Importing A Directory:]] | + | * [[#3 Importing A Directory]] |
- | * [[#sec-4|4 Checking It Out]] | + | * [[#4 Checking It Out]] |
- | * [[#sec-5|5 Accessing It Remotely]] | + | * [[#5 Accessing It Remotely]] |
- | * [[#sec-6|6 More info on cvs: ]] | + | * [[#6 More info on cvs]] |
- | ===== [[|1 Introduction]] ===== | + | ===== Introduction ===== |
This tutorial is not about using a version control system, or about using cvs, but about how to get started with cvs on SDF | This tutorial is not about using a version control system, or about using cvs, but about how to get started with cvs on SDF | ||
- | ===== [[|2 Creating A Repository]] ===== | + | ===== 2 Creating A Repository ===== |
The cvs repository is just a simple directory. Our repository will be made in our home directory, and we will name it " | The cvs repository is just a simple directory. Our repository will be made in our home directory, and we will name it " | ||
Line 32: | Line 32: | ||
That's it. | That's it. | ||
- | ===== [[|3 Importing A Directory:]] ===== | + | ===== 3 Importing A Directory ===== |
Let's add our website into our repository: | Let's add our website into our repository: | ||
Line 51: | Line 51: | ||
You can modify the message, the module name and the tags to your liking, just keep in mind that in the rest of this tutorial we will use ' | You can modify the message, the module name and the tags to your liking, just keep in mind that in the rest of this tutorial we will use ' | ||
- | ===== [[|4 Checking It Out]] ===== | + | ===== 4 Checking It Out ===== |
cd | cd | ||
Line 60: | Line 60: | ||
This should be enough to convince ourselves that the directory is now under version control. | This should be enough to convince ourselves that the directory is now under version control. | ||
- | ===== [[|5 Accessing It Remotely]] ===== | + | ===== 5 Accessing It Remotely ===== |
We can access our repository from the outside using ssh, to do this we need to set the environment variable CVS_RSH so that cvs will use ssh, using for instance: | We can access our repository from the outside using ssh, to do this we need to set the environment variable CVS_RSH so that cvs will use ssh, using for instance: | ||
Line 81: | Line 81: | ||
cvs -d ': | cvs -d ': | ||
- | ===== [[|6 More info on cvs: ]] ===== | + | ===== 6 More info on cvs ===== |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
* man cvs | * man cvs | ||
+ | |||
+ | $Id: cvs_on_sdf.html, |