Annotation of src/usr.bin/rcs/ci.1, Revision 1.9
1.9 ! niallo 1: .\" $OpenBSD: ci.1,v 1.8 2005/10/15 20:02:32 niallo Exp $
1.1 niallo 2: .\"
3: .\" Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
4: .\" All rights reserved.
5: .\"
6: .\" Permission to use, copy, modify, and distribute this software for any
7: .\" purpose with or without fee is hereby granted, provided that the above
8: .\" copyright notice and this permission notice appear in all copies.
9: .\"
10: .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11: .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12: .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13: .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14: .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15: .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16: .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17: .Dd October 08, 2005
18: .Dt CI 1
19: .Os
20: .Sh NAME
21: .Nm ci
22: .Nd check in RCS revisions
23: .Sh SYNOPSIS
24: .Nm
25: .Bk -words
1.5 niallo 26: .Op Fl jMNqV
1.9 ! niallo 27: .Op Fl d Ns Op Ar date
! 28: .Op Fl f Ns Op Ar rev
! 29: .Op Fl k Ns Ar mode
! 30: .Op Fl l Ns Op Ar rev
! 31: .Op Fl m Ns Ar msg
! 32: .Op Fl r Ns Op Ar rev
! 33: .Op Fl u Ns Op Ar rev
! 34: .Op Fl w Ns Ar username
1.1 niallo 35: .Ar file ...
36: .Ek
37: .Sh DESCRIPTION
38: The
39: .Nm
40: program is used to check new revisions into RCS files.
41: .Pp
42: The following options are supported:
43: .Bl -tag -width Ds
1.9 ! niallo 44: .It Fl d Ns Op Ar date
1.1 niallo 45: Uses
46: .Ar date
47: for check-in date and time.
1.7 niallo 48: If
49: .Ar date
50: is not specified, use the working file's last modification time.
1.9 ! niallo 51: .It Fl f Ns Op Ar rev
1.8 niallo 52: Force check in - optionally to
53: .Ar rev
54: - even if no changes have been made to the working file.
1.1 niallo 55: .It Fl I
56: Interactive mode.
1.9 ! niallo 57: .It Fl k Ns Ar mode
1.1 niallo 58: Specify the keyword substitution mode.
1.9 ! niallo 59: .It Fl l Ns Op Ar rev
1.1 niallo 60: The same as
61: .Fl r ,
1.3 jmc 62: but also immediately checks out the deposited revision and locks it.
63: This is useful if you wish to continue to edit the working file after check-in.
1.1 niallo 64: .It Fl M
65: Set the modification time of the file to the date of the
66: retrieved revision.
1.9 ! niallo 67: .It Fl m Ns Ar msg
1.1 niallo 68: Specify a log message.
69: A line beginning with a hash character
70: .Pq Sq #
71: is considered a comment and ignored.
72: .It Fl q
73: Be quiet about reporting.
1.9 ! niallo 74: .It Fl r Ns Op Ar rev
1.1 niallo 75: Check in revision
76: .Ar rev .
1.4 niallo 77: However, if
78: .Ar rev
79: is not specified the meaning is completely different \- override any
80: .Fl l
81: or
1.5 niallo 82: .Fl u Op Ar rev
1.4 niallo 83: options, ensuring the default behaviour of releasing a lock and removing the
84: working file.
1.9 ! niallo 85: .It Fl s Ns Ar state
1.1 niallo 86: Sets the state of the deposited revision to the identifier
87: .Ar state .
88: .It Fl u
89: The same as
90: .Fl r ,
1.3 jmc 91: but also immediately checks out the deposited revision read-only.
92: Useful if you wish to read the working file after check-in.
1.1 niallo 93: .It Fl V
94: Print RCS's version number.
1.9 ! niallo 95: .It Fl w Ns Ar user
1.1 niallo 96: Uses
97: .Ar user
98: as the author field of the deposited revision.
99: .El
100: .Sh ENVIRONMENT
101: .Bl -tag -width RCSINIT
102: .It Ev RCSINIT
103: If set, this variable should contain a list of space-delimited options that
104: are prepended to the argument list.
105: .El
106: .Sh SEE ALSO
107: .Xr co 1 ,
1.2 niallo 108: .Xr ident 1 ,
1.1 niallo 109: .Xr rcs 1 ,
110: .Xr rcsclean 1 ,
111: .Xr rcsdiff 1 ,
1.6 xsa 112: .Xr rlog 1