GNU RCS 5.9.1: ci

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.

-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]

Reset working file mtime (relevant for -l, -u).

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

See Misc common options. Set the state.

-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.

-wwho

Use who as the author.

-V
-Vn
-xsuff

See Misc common options.


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


38 visits (2 today, 7 this week, 6 this month, 32 this year)
Uptime: 23:59:30 up 1 day, 16:37, 0 users, load average: 0.00, 0.00, 0.00
44.192.112.123 GET from server z.lam1.us

Saturday, March 6, 2021 @ 11:59:30 PM
z.ServerAdmin@lam1.us