|


| NAVIGATION |
|
Home |
|
Store |
|
|
| INSIDE MAC |
|
Television Shows |
|
Broadcast Shows |
|
Daily News Shows |
|
Special Shows |
|
|
| EVENTS |
|
|
|
|
|
|
|
|
| DAILY TIPS |
|
Design |
|
Mac OS X |
|
Mac OS X UNIX |
|
|
| COMMUNITY |
|
Surveys |
|
|
| NEWS |
|
Current |
|
Press |
|
Archive |
|
|
| FEATURES |
|
Editorial |
|
Dr. Mac |
|
Reviews |
|
Reader Reports |
|
|
| RESOURCES |
|
FAQ |
|
Documentation |
|
Learning Center |
|
MAN pages |
|
Glossary |
|
Tutorials |
|
Tips |
|
Links |
|
|
|

|
|
|
ci - check in RCS revisions
SYNOPSIS
ci [options] file ...
DESCRIPTION
ci stores new revisions into RCS files. Each pathname
matching an RCS suffix is taken to be an RCS file. All
others are assumed to be working files containing new
revisions. ci deposits the contents of each working file
into the corresponding RCS file. If only a working file
is given, ci tries to find the corresponding RCS file in
an RCS subdirectory and then in the working file's direc-
tory. For more details, see FILE NAMING below.
For ci to work, the caller's login must be on the access
list, except if the access list is empty or the caller is
the superuser or the owner of the file. To append a new
revision to an existing branch, the tip revision on that
branch must be locked by the caller. Otherwise, only a
new branch can be created. This restriction is not
enforced for the owner of the file if non-strict locking
is used (see rcs(1)). A lock held by someone else can be
broken with the rcs command.
Unless the -f option is given, ci checks whether the revi-
sion to be deposited differs from the preceding one. If
not, instead of creating a new revision ci reverts to the
preceding one. To revert, ordinary ci removes the working
file and any lock; ci -l keeps and ci -u removes any lock,
and then they both generate a new working file much as if
co -l or co -u had been applied to the preceding revision.
When reverting, any -n and -s options apply to the preced-
ing revision.
For each revision deposited, ci prompts for a log message.
The log message should summarize the change and must be
terminated by end-of-file or by a line containing . by
itself. If several files are checked in ci asks whether
to reuse the previous log message. If the standard input
is not a terminal, ci suppresses the prompt and uses the
same log message for all files. See also -m.
If the RCS file does not exist, ci creates it and deposits
the contents of the working file as the initial revision
(default number: 1.1). The access list is initialized to
empty. Instead of the log message, ci requests descrip-
tive text (see -t below).
The number rev of the deposited revision can be given by
any of the options -f, -i, -I, -j, -k, -l, -M, -q, -r, or
-u. rev can be symbolic, numeric, or mixed. Symbolic
ci determines the revision number from keyword values in
the working file.
If rev begins with a period, then the default branch (nor-
mally the trunk) is prepended to it. If rev is a branch
number followed by a period, then the latest revision on
that branch is used.
If rev is a revision number, it must be higher than the
latest one on the branch to which rev belongs, or must
start a new branch.
If rev is a branch rather than a revision number, the new
revision is appended to that branch. The level number is
obtained by incrementing the tip revision number of that
branch. If rev indicates a non-existing branch, that
branch is created with the initial revision numbered
rev.1.
If rev is omitted, ci tries to derive the new revision
number from the caller's last lock.
|


|
Copyright © 2000-2010 Inside Mac Media, Inc. All rights reserved. |
Apple assumes no responsibility with regard to the selection, performance, or use of the products or services. All understandings, agreements, or warranties, if any, take place directly between the vendors and prospective users. |
| Apple, the Apple logo, Mac, PowerMac G4, PowerMac G5, Xserve, Xserve RAID, PowerBook, iBook, Airport, AirPort Extreme, iMac, eMac, iLife, iMovie, iCal, iPhoto, iTunes, QuickTime, FireWire, iPod, iSight, AppleWorks, Macintosh, Jaguar, Panther, Mac OS, Mac OS X and Mac OS X Server are trademarks of Apple Computer, Inc. |
|