CI(1) | General Commands Manual | CI(1) |
ci
— check in RCS
revisions
ci |
[-qV ]
[-d [date]]
[-f [rev]]
[-I [rev]]
[-i [rev]]
[-j [rev]]
[-k [rev]]
[-l [rev]]
[-M [rev]]
[-m msg]
[-N symbol]
[-n symbol]
[-r [rev]]
[-s state]
[-t [str]]
[-u [rev]]
[-w username]
[-x suffixes]
[-z tz] file
... |
The ci
program is used to check in new
revisions to RCS files.
When a file is checked in, it is stored in the RCS directory with
a specific revision number, and the original file itself is deleted. The RCS
file is stored with the same name, but with ‘,v’ appended.
ci
will prompt for a check-in message, to be stored
with the file, which can be displayed using
rlog(1).
Revision numbering starts at 1.1 and increases logically.
Numbering can be altered using the -k
option,
however. The ‘,v’ suffix can also be altered, using the
-x
option.
ci
also supports keyword substitution
– see the rcs(1) man page for more
information.
The following options are supported:
-d
[date]-f
[rev]-I
[rev]-i
[rev]-j
[rev]-k
[rev]-l
[rev]-r
, but also immediately checks out
the deposited revision and locks it. This is useful if you wish to
continue to edit the working file after check-in.-M
[rev]-m
msg-N
symbol-n
symbol-N
except it does not overwrite
previous symbols.-q
-r
[rev]-l
or
-u
options, ensuring the default behaviour of
releasing a lock and removing the working file.-s
state-t
[str]-u
[rev]-r
, but also immediately checks out
the deposited revision read-only. Useful if you wish to read the working
file after check-in.-V
-w
username-x
suffixes-z
tz-d
option.The ci
utility exits 0 on success,
and >0 if an error occurs.
co(1), ident(1), rcs(1), rcsclean(1), rcsdiff(1), rcsmerge(1), rlog(1)
August 12, 2013 | OpenBSD-current |