| 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]]
[-mmsg]
[-Nsymbol]
[-nsymbol]
[-r[rev]]
[-sstate]
[-t[str]]
[-u[rev]]
[-wusername]
[-xsuffixes]
[-ztz] 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]-mmsg-Nsymbol-nsymbol-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.-sstate-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-wusername-xsuffixes-ztz-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 |