Cover | Table of Contents | Colophon
http://www.cvsgui.org. It is also available
as an installation package from many GNU/Linux distributions,
including Debian, Red Hat, and SuSE.http://www.cvsgui.org. It is also available
as an installation package from many GNU/Linux distributions,
including Debian, Red Hat, and SuSE.http://www.wincvs.org. There
you'll find gCVS, WinCVS, and MacCVS, which are GUI
clients for Unix and GNU/Linux, Windows, and Macintosh (pre-OS X),
respectively.http://www.cvsnt.org. This server is not
identical with the Unix server, but the differences are clearly
listed in the FAQ and an installation guide is available on the web
site.http://www.openssh.com) is a good starting
point for information on SSH and SSH clients. You may also want to
read SSH, The Secure Shell: The Definitive Guide
(O'Reilly) by Daniel J. Barrett, Ph.D.
and Richard Silverman. For more than you ever wanted to know, check
the SSH FAQ at http://www.employees.org/~satch/ssh/faq/. The
Google list of SSH documentation is at http://directory.google.com/Top/Computers/Security/Products_and_Tools/Cryptography/SSH/Documentation/.http://www.pathname.com/fhs/), the preferred
location for a repository is /var/lib/cvsroot.$ mkdir /var/lib/cvsroot $ chgrp anthill /var/lib/cvsroot $ ls -la /home
cvs -d repository_path import name_of_project vendor_tag release_tag
[:method:][[[user][:password]@]hostname[:[port]]]/path
cvs -d repository_path checkout project_name
$ mkdir ~/cvs $ cd ~/cvs $ cvs -d /var/lib/cvsroot checkout example cvs checkout: Updating example U example/file1 U example/file2
$ cvs -d :ext:cvs:/home/cvs checkout cvsbook$ cd ~/cvs/example $ cvs commit cvs commit: Examining .
CVS:------------------------------------------------------------------ CVS: Enter Log. Lines beginning with 'CVS:' are removed automatically
$ cvs update -d cvs update: Updating . U file2 cvs update: Updating directory $ ls CVS directory file1 file2
cvs [cvs-options] command [command-options]
cvs add filename
$ touch file3 $ cvs add file3 cvs add: scheduling file `file3' for addition cvs add: use 'cvs commit' to add this file permanently $ cvs commit ... Log message editor opens ... RCS file: /var/lib/cvsroot/example/file3,v done Checking in file3; /var/lib/cvsroot/example/file3,v <-- file3 initial revision: 1.1 done
cvs remove filename
$ rm file3 $ cvs remove file3 cvs remove: scheduling `file3' for removal cvs remove: use 'cvs commit' to remove this file permanently $ cvs commit ... Log message editor opens ... Removing file3;" 9L, 308C written /var/lib/cvsroot/example/file3,v <-- file3 new revision: delete; previous revision: 1.1 done
cvs server: [23:20:43] waiting for jenn's lock in /var/lib/cvs/wizzard/src
cvs [cvs-options] commit [command-options] [filename]
cvs [cvs-options] status [command-options] [filename]
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = File: wizzard.h Status: Up-to-date Working revision: 1.5 Repository revision: 1.5 /var/lib/cvs/wizzard/src/wizzard.h,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none)
bash-2.05a$ cvs update -d
cvs server: Updating .
cvs server: Updating doc
cvs server: Updating doc/design
U doc/design/Analysis.rtf
U doc/design/Specification.rtf
cvs server: Updating doc/plan
U doc/plan/Schedule.rtf
cvs server: Updating lib
cvs server: Updating man
cvs server: Updating src
M src/wizzard.h
cvs [cvs-options] add [command-options] filename
cvs [cvs-options] remove [command-options] filename
bash-2.05a$ mv wizzard.h config.h bash-2.05a$ cvs remove wizzard.h cvs server: scheduling `wizzard.h' for removal cvs server: use 'cvs commit' to remove this file permanently bash-2.05a$ cvs add config.h cvs server: scheduling file `config.h' for addition cvs server: use 'cvs commit' to add this file permanently bash-2.05a$ cvs commit . . . Moving src/wizzard.h to src/config.h CVS: --------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Added Files: CVS: config.h CVS: Removed Files: CVS: wizzard.h CVS: --------------------------------------------------------------------- . . . RCS file: /var/lib/cvs/wizzard/src/config.h,v done Checking in config.h; /var/lib/cvs/wizzard/src/config.h,v <-- config.h initial revision: 1.1 done Removing wizzard.h; /var/lib/cvs/wizzard/src/wizzard.h,v <-- wizzard.h new revision: delete; previous revision: 1.5 done
cvs [cvs-options] release [-d] directory
bash-2.05a$ cvs release . cvs server: warning: src/wizzard.h is not (any longer) pertinent ? src/test ? src/test.c U src/config.h U src/main.c You have [0] altered files in this repository. Are you sure you want to release directory `.': n ** `release' aborted by user choice.
$Keyword$
# Makefile for the Wizzard project
# First created by J Vesperman, 1 September 2002
#
# Current revision $Revision: 1.6 $
# On branch $Name: $
# Latest change by $Author: chodacki $ on $Date: 2004/04/16 16:15:52 $
# Initial declarations
CC=gcc
SUBDIRS = man doc src lib
# Declaring phony targets
.PHONY: all clean install
all: wizzard
echo "all: make complete"
clean:
rm -f src/*.o
rm -f wizzard
echo "clean: make complete"
.
.
.
# Log record for Makefile changes:
# $Log: ch03.xml,v $
# Revision 1.6 2004/04/16 16:15:52 chodacki
# sfcleanup fixes
#
# Revision 1.5 2003/07/11 20:00:23 madd
# madd final SC edits
#
# Revision 1.4 2003/07/09 21:31:56 madd
# madd SC edits
#
# Revision 1.3 2003/07/07 21:52:50 madd
# madd SC edits
#
# Revision 1.2 2003/06/27 21:47:43 madd
# madd R2 conversion edits
#
# Revision 1.1 2003/06/26 22:22:10 madd
# Initial revision
#
# Current revision $Revision: 1.6 $ # On branch $Name: $ # Latest change by $Author: chodacki $ on $Date: 2004/04/16 16:15:52 $ # Initial declarations CC=gcc SUBDIRS = man doc src lib . . . # Log record for Makefile changes: # $Log: ch03.xml,v $ # Revision 1.6 2004/04/16 16:15:52 chodacki # sfcleanup fixes # # Revision 1.5 2003/07/11 20:00:23 madd # madd final SC edits # # Revision 1.4 2003/07/09 21:31:56 madd # madd SC edits # # Revision 1.3 2003/07/07 21:52:50 madd # madd SC edits # # Revision 1.2 2003/06/27 21:47:43 madd # madd R2 conversion edits # # Revision 1.1 2003/06/26 22:22:10 madd # Initial revision # # Revision 1.2 2002/09/01 06:57:23 jenn # Initial code in the Makefile.
bash-2.05a$ cvs add -kb Requirements.doc cvs server: scheduling file `Requirements.doc' for addition cvs server: use 'cvs commit' to add this file permanently bash-2.05a$ cvs add AcceptanceTest.doc cvs server: scheduling file `AcceptanceTest.doc' for addition cvs server: use 'cvs commit' to add this file permanently bash-2.05a$