summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.1
blob: 188fa07093d7649a430accc0c5cb66c52f97b77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.\"     $OpenBSD: ci.1,v 1.4 2005/10/09 14:49:39 niallo Exp $
.\"
.\" Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
.\" 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 jlMNquV
.Op Fl d Ar date
.Op Fl k Ar mode
.Op Fl m Ar msg
.Op Fl r Op Ar rev
.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 Ar date
Uses
.Ar date
for check-in date and time.
.It Fl f
Force check in.
.It Fl I
Interactive mode.
.It Fl k Ar mode
Specify the keyword substitution mode.
.It Fl l
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
Set the modification time of the file to the date of the
retrieved revision.
.It Fl m Ar msg
Specify a log message.
A line beginning with a hash character
.Pq Sq #
is considered a comment and ignored.
.It Fl q
Be quiet about reporting.
.It Fl r 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
options, ensuring the default behaviour of releasing a lock and removing the
working file.
.It Fl s Ar state
Sets the state of the deposited revision to the identifier
.Ar state .
.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 Ar user
Uses
.Ar user
as the author field of the deposited revision.
If the
.Ar user
argument is omitted, the login of the user issuing the command
is assumed.
.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.
.El
.Sh SEE ALSO
.Xr co 1 ,
.Xr ident 1 ,
.Xr rcs 1 ,
.Xr rcsclean 1 ,
.Xr rcsdiff 1 ,
.Xr rcsfile 5