c
ci(1) | ci(1) |
Quiet mode; diagnostic output is not printed. A revision that is not different from the | |
| preceding one is not deposited unless |
Assigns the revision number rev to the | |
| and deletes the working ®le. This is the default. |
| If rev is omitted, ci derives the new revision number from the caller's last lock. If the |
| caller has locked the head revision of a branch, the new revision is added to the head of |
| that branch and a new revision number is assigned to the new revision. The new revision |
| number is obtained by incrementing the head revision number. If the caller locked a non- |
| head revision, a new branch is started at the locked revision, and the number of the locked |
| revision is incremented. The default initial branch and level numbers are 1. If the caller |
| holds no lock, but is the owner of the ®le and locking is not set to strict, the revision is |
| added to the head of the trunk. |
| If rev indicates 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 indicates a branch instead of a revision, the new revision is added to the head of that |
| branch. The level number is obtained by incrementing the head revision number of that |
| branch. If rev indicates a |
| sion numbered rev.1. |
| NOTE: On the trunk, revisions can be added to the head, but not inserted. |
Sets the state of the | |
Writes descriptive text into the RCS ®le (deletes the existing text). If txt®le is omitted, ci | |
| prompts the user for text from standard input that is terminated with a line containing a |
| single . or |
| initialization, descriptive text is requested even if |
| suppressed if standard input is not a terminal. |
Similar to | |
| to process (e.g., compile) the revision immediately after check in. |
Access Control Lists (ACLs)
Optional ACL entries should not be added to RCS ®les, because they might be deleted.
DIAGNOSTICS
For each revision, ci prints the RCS ®le, the working ®le, and the number of both the deposited and the preceding revision. The exit status always refers to the last ®le checked in, and is 0 if the operation was successful, 1 if unsuccessful.
EXAMPLES
If the current directory contains a subdirectory RCS with an RCS ®le io.c,v, all of the following commands deposit the latest revision from io.c into RCS/io.c,v:
ci io.c
ci RCS/io.c,v ci io.c,v
ci io.c RCS/io.c,v ci io.c io.c,v
ci RCS/io.c,v io.c ci io.c,v io.c
Check in version 1.2 of RCS ®le foo.c,v, with the message Bug fix:
ci
WARNINGS
The names of RCS ®les are generated by appending ,v to the end of the working ®le name. If the resulting RCS ®le name is too long for the ®le system on which the RCS ®le should reside, ci terminates with an error message.
The log message cannot exceed 2046 bytes.
A ®le with approximately 240 revisions may cause a hash table over¯ow. ci cannot add another revision to the ®le until some of the old revisions have been removed. Use the rcs
Section 1−92 | − 2 − |