Module Maintenance
This creates a new revision in the repository in this case 1.2 for both files. Each
file carries its own revision number, which is incremented each time it is updated.
You can examine the history of a file in CVS using the cvs log command. For
example, here's the cvs log output for Counter.pm after the commit operation:
$ cvs log Counter.pm
RCS file: /home/sam/cvsroot/Data Counter/Counter.pm,v
Working file: Counter.pm
head: 1.2
branch:
locks: strict
access list:
symbolic names:
start: 1.1.1.1
vendor: 1.1.1
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
revision 1.2
date: 2002/02/04 06:31:48; author: sam; state: Exp; lines: +5 0
Added the count_char() method
revision 1.1
date: 2002/02/04 01:31:54; author: sam; state: Exp;
branches: 1.1.1;
Initial revision
revision 1.1.1.1
date: 2002/02/04 01:31:54; author: sam; state: Exp; lines: +0 0
Import of Data::Counter
=============================================================================
At the bottom, listed in reverse chronological order, are the revisions that exist in
the CVS repository 1.2, 1.1, and 1.1.1.1 in this case along with log messages.
Adding and Removing Files and Directories
CVS needs to be told about new files and directories. This is done with the cvs add
command. For example, if I created an INSTALL file in the Data::Counter project,
I would run the cvs add command:
15
155
5
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved