Novell LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION Installation Manual page 757

Hide thumbs Also See for LINUX ENTERPRISE SERVER 10 SP2 - INSTALLATION AND ADMINISTRATION:
Table of Contents

Advertisement

CVS_RSH=ssh CVSROOT=tux@server:/serverdir
The command cvs init can be used to initialize the CVS server from the client side.
This needs to be done only once.
Finally, the synchronization must be assigned a name. Select or create a directory on
the client exclusively to contain files to manage with CVS (the directory can also be
empty). The name of the directory is also the name of the synchronization. In this ex-
ample, the directory is called synchome. Change to this directory and enter the follow-
ing command to set the synchronization name to synchome:
cvs import synchome tux wilber
Many CVS commands require a comment. For this purpose, CVS starts an editor (the
editor defined in the environment variable $EDITOR or vi if no editor was defined).
The editor call can be circumvented by entering the comment in advance on the com-
mand line, such as in the following example:
cvs import -m 'this is a test' synchome tux wilber
39.3.2 Using CVS
The synchronization repository can now be checked out from all hosts with cvs co
synchome. This creates a new subdirectory synchome on the client. To commit your
changes to the server, change to the directory synchome (or one of its subdirectories)
and enter cvs commit.
By default, all files (including subdirectories) are committed to the server. To commit
only individual files or directories, specify them as in cvs commit file1
directory1. New files and directories must be added to the repository with a com-
mand like cvs add file1 directory1 before they are committed to the server.
Subsequently, commit the newly added files and directories with cvs commit file1
directory1.
If you change to another workstation, check out the synchronization repository if this
has not been done during an earlier session at the same workstation.
File Synchronization
739

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 sp3

Table of Contents