.\" $OpenBSD: ci.1,v 1.19 2005/11/24 08:52:48 jmc Exp $ .\" .\" Copyright (c) 2005 Niall O'Higgins .\" All rights reserved. .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .Dd October 08, 2005 .Dt CI 1 .Os .Sh NAME .Nm ci .Nd check in RCS revisions .Sh SYNOPSIS .Nm .Bk -words .Op Fl jMNqV .Op Fl d Ns Op Ar date .Op Fl f Ns Op Ar rev .Op Fl i Ns Op Ar rev .Op Fl j Ns Op Ar rev .Op Fl k Ns Ar mode .Op Fl l Ns Op Ar rev .Op Fl M Ns Op Ar rev .Op Fl m Ns Ar msg .Op Fl N Ns Ar symbol .Op Fl n Ns Ar symbol .Op Fl r Ns Op Ar rev .Op Fl s Ns Ar state .Op Fl u Ns Op Ar rev .Op Fl w Ns Ar username .Op Fl x Ns Ar suffixes .Ar file ... .Ek .Sh DESCRIPTION The .Nm program is used to check new revisions into RCS files. .Pp The following options are supported: .Bl -tag -width Ds .It Fl d Ns Op Ar date Uses .Ar date for check-in date and time. If .Ar date is not specified, use the working file's last modification time. .It Fl f Ns Op Ar rev Force check in - optionally to .Ar rev - even if no changes have been made to the working file. .It Fl I Interactive mode. .It Fl i Ns Op Ar rev Only do initial check-in. Print error and refuse to do check-in if the RCS file already exists. .It Fl j Ns Op Ar rev Only do update check-in. Print error and refuse to do check-in if the RCS file does not already exist. .It Fl k Ns Ar mode Specify the keyword substitution mode. .It Fl l Ns Op Ar rev The same as .Fl 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. .It Fl M Ns Op Ar rev Set the modification time of the file to the date of the retrieved revision. .It Fl m Ns Ar msg Specify a log message. A line beginning with a hash character .Pq Sq # is considered a comment and ignored. .It Fl N Ns Ar symbol The same as .Fl n except it overwrites any previous assignment of .Ar symbol . .It Fl n Ns Ar symbol Assign the symbolic name .Ar symbol to the checked in revision. .It Fl q Be quiet about reporting. .It Fl r Ns Op Ar rev Check in revision .Ar rev . However, if .Ar rev is not specified the meaning is completely different \- override any .Fl l or .Fl u Op Ar rev options, ensuring the default behaviour of releasing a lock and removing the working file. .It Fl s Ns Ar state Sets the state of the deposited revision to the identifier .Ar state . The specified value may not contain a space character. .It Fl u The same as .Fl r , but also immediately checks out the deposited revision read-only. Useful if you wish to read the working file after check-in. .It Fl V Print RCS's version number. .It Fl w Ns Ar user Uses .Ar user as the author field of the deposited revision. .It Fl x Ns Ar suffixes Specifies the suffixes for RCS files. Suffixes should be separated by the .Sq / character. .El .Sh ENVIRONMENT .Bl -tag -width RCSINIT .It Ev RCSINIT If set, this variable should contain a list of space-delimited options that are prepended to the argument list. .It Ev TMPDIR When set, this variable specifies the directory where temporary files are to be created. The default is set to .Pa /tmp . .El .Sh SEE ALSO .Xr co 1 , .Xr ident 1 , .Xr rcs 1 , .Xr rcsclean 1 , .Xr rcsdiff 1 , .Xr rcsmerge 1 , .Xr rlog 1