
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
731
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......