Next: , Previous: , Up: Usage   [Contents][Index]


2.2 Invoking ci

rcs ci [options] file …
(or “ci” instead of “rcs ci”)

The ci command adds a revision to the RCS file reflecting the current state of the working file. This operation is also known as “checkin”.

-f[rev]

Force new entry, even if no content changed.

-I[rev]
-q[rev]

See Misc common options.

-i[rev]

Initial checkin; error if the RCS file already exists.

-j[rev]

Just checkin, don’t initialize; error if the RCS file does not exist.

-k[rev]

Compute revision from working file keywords.

Do not confuse this with -ksubst (see Substitution mode option).

-r

Release lock and delete working file.

-rrev

Do normal checkin.

-l[rev]

Like -r, but immediately checkout locked (co -l) afterwards.

-u[rev]

Like -l, but checkout unlocked (co -u).

-M[rev]

See Working file mtime option.

Multiple flags in -{fiIjklMqru} may be given, except for -r, -l, -u, which are mutually exclusive. For a fully specified revision of the form br.n, n must be greater than any existing on br, or br must be new. If rev is omitted, compute it from the last lock (co -l), perhaps starting a new branch. If there is no lock, use defbr.(L+1). See Revision options.

-d[date]
-zzone

See Date option. If no date specified, use the working file modification time.

-m[msg]

Use msg as the log message. See Log message option.

-nname
-Nname

Assign symbolic name to the entry. For -n, name must be new (no previous assignment). For -N, overwrite any previous assignment.

-sstate

Set the state (see State option).

-t-text
-tfile-name

See Description option.

-T

Set the RCS file’s modification time to the new revision’s time if the former precedes the latter and there is a new revision; preserve the RCS file’s modification time otherwise. See Misc common options.

-wwho

Use who as the author. See Misc common options.

-V
-Vn
-xsuff

See Misc common options.


Next: Invoking co, Previous: Common elements, Up: Usage   [Contents][Index]