xref: /openbsd-src/usr.bin/cvs/cvs.1 (revision 7f0be37c169f36edc0439be65030ee0089a8d72c)
1*7f0be37cSmmcc.\"	$OpenBSD: cvs.1,v 1.128 2015/12/24 16:54:37 mmcc Exp $
26c121f58Sjfb.\"
36c121f58Sjfb.\" Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
49cbe2aa2Sxsa.\" Copyright (c) 2004-2008 Xavier Santolaria <xsa@openbsd.org>
56c121f58Sjfb.\" All rights reserved.
66c121f58Sjfb.\"
76c121f58Sjfb.\" Redistribution and use in source and binary forms, with or without
86c121f58Sjfb.\" modification, are permitted provided that the following conditions
96c121f58Sjfb.\" are met:
106c121f58Sjfb.\"
116c121f58Sjfb.\" 1. Redistributions of source code must retain the above copyright
126c121f58Sjfb.\"    notice, this list of conditions and the following disclaimer.
136c121f58Sjfb.\" 2. The name of the author may not be used to endorse or promote products
146c121f58Sjfb.\"    derived from this software without specific prior written permission.
156c121f58Sjfb.\"
166c121f58Sjfb.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
176c121f58Sjfb.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
186c121f58Sjfb.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
196c121f58Sjfb.\" THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
206c121f58Sjfb.\" EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLUDING, BUT NOT LIMITED TO,
216c121f58Sjfb.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
226c121f58Sjfb.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
236c121f58Sjfb.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
246c121f58Sjfb.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
256c121f58Sjfb.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
266c121f58Sjfb.\"
27*7f0be37cSmmcc.Dd $Mdocdate: December 24 2015 $
286c121f58Sjfb.Dt CVS 1
296c121f58Sjfb.Os
306c121f58Sjfb.Sh NAME
316c121f58Sjfb.Nm cvs
3247bf3068Sjoris.Nd OpenCVS Concurrent Versioning System
336c121f58Sjfb.Sh SYNOPSIS
346c121f58Sjfb.Nm
352efff0a0Sjmc.Bk -words
36bcf7edd3Sray.Op Fl flnQqRrtVvw
376c121f58Sjfb.Op Fl d Ar root
386c121f58Sjfb.Op Fl e Ar editor
39130c4be1Sjmc.Xo
40130c4be1Sjmc.Oo Fl s
41130c4be1Sjmc.Ar var Ns = Ns Ar val Oc
42130c4be1Sjmc.Xc
4323eb7e09Sxsa.Op Fl T Ar tmpdir
440f79b147Sjmc.Op Fl z Ar level
4503cb09c0Ssobrado.Ar command ...
462efff0a0Sjmc.Ek
476c121f58Sjfb.Sh DESCRIPTION
486c121f58SjfbThe
496c121f58Sjfb.Nm
506c121f58Sjfbprogram acts as both client and server for the use of and administration of
516c121f58Sjfba CVS source repository.
526c121f58SjfbCVS is used to maintain version information on files that are kept in a
536c121f58Sjfbrepository.
546c121f58SjfbAlthough it is more commonly used to track changes in source code, there
5519b92625Sderaadtare no real limitations to the type of files that can be stored in a
566c121f58Sjfbrepository.
57e8a73a57SjmcFor a general introduction to CVS, see
58e8a73a57Sjmc.Xr cvsintro 7 .
596c121f58Sjfb.Pp
60e3444bd9Sjfb.Nm
61e8a73a57Sjmcreads its startup configuration file,
62e8a73a57Sjmc.Pa .cvsrc ,
63e3444bd9Sjfbfrom the home directory of the user who invoked it.
64e3444bd9SjfbThis file is used to specify implicit options passed to
65e3444bd9Sjfb.Nm
66e3444bd9Sjfbor one of its commands whenever it is invoked.
67e8a73a57SjmcThe defaults in the configuration file can be overridden with the
68e8a73a57Sjmc.Fl f
69e8a73a57Sjmcoption (see below).
7043e62ebaSjmcSee
71a7bff744Sjmc.Xr cvs 5
7243e62ebaSjmcfor further information.
73e3444bd9Sjfb.Pp
74251d73beSjmc.Nm
75251d73beSjmcalso supports
76251d73beSjmckeyword substitution \(en
77251d73beSjmcsee the
78251d73beSjmc.Xr rcs 1
79251d73beSjmcman page for more information.
80251d73beSjmc.Pp
816c121f58SjfbThe following options are supported:
8207ec1663Sderaadt.Bl -tag -width Ds
836c121f58Sjfb.It Fl d Ar root
846c121f58SjfbUse
856c121f58Sjfb.Ar root
866c121f58Sjfbas the path to the root directory of the CVS repository.
876c121f58SjfbThe value must specify an absolute path.
886c121f58Sjfb.It Fl e Ar editor
896c121f58SjfbUse the program
906c121f58Sjfb.Ar editor
916c121f58Sjfbwhenever editing log information.
92a73a2907SjmcThis option overrides the environment variables CVSEDITOR, VISUAL, and EDITOR.
936c121f58Sjfb.It Fl f
94e3444bd9SjfbDo not read the user's configuration file on startup.
956c121f58Sjfb.It Fl l
966c121f58SjfbSuppress logging of history information.
979ce007b2Sxsa.It Fl n
989ce007b2SxsaDry-run mode.
999ce007b2SxsaShow which files will be used by the command issued
1009ce007b2Sxsawithout really running it.
1016c121f58Sjfb.It Fl Q
1026c121f58SjfbBe extra quiet.
1036c121f58SjfbOnly error messages will be displayed.
1046c121f58Sjfb.It Fl q
1056c121f58SjfbBe quiet about reporting.
1063dcb84b2Sxsa.It Fl R
1073dcb84b2SxsaPermit checkout from a read-only repository.
10879c1e02cSxsaImplies
10979c1e02cSxsa.Fl l .
1103dcb84b2SxsaSee also
1113dcb84b2Sxsa.Ev CVSREADONLYFS ,
1123dcb84b2Sxsabelow.
1130efd96f6Sxsa.It Fl r
1140efd96f6SxsaExtract files in read-only mode.
115130c4be1Sjmc.It Fl s Ar var Ns = Ns Ar val
116130c4be1SjmcSet the value of the internal variable
117130c4be1Sjmc.Ar var
118130c4be1Sjmcto the string
119130c4be1Sjmc.Ar val .
12023eb7e09Sxsa.It Fl T Ar tmpdir
12123eb7e09SxsaSet the value of the directory where temporary files are to be created.
12223eb7e09SxsaThe default is set to
12323eb7e09Sxsa.Pa /tmp .
1249734ce85SjmcThis option overrides the
1259734ce85Sjmc.Ev TMPDIR
1269734ce85Sjmcenvironment variable.
1270f79b147Sjmc.It Fl t
1280f79b147SjmcTrace program execution.
1292a4c5a52Sreyk.It Fl V
1302a4c5a52SreykVerbose mode.
1312a4c5a52SreykAll messages will be displayed.
132a9ac7b24SjorisThis is the default.
13379c1e02cSxsa.Fl V
13479c1e02cSxsaand
13579c1e02cSxsa.Fl Q
13679c1e02cSxsaare mutually exclusive.
13779c1e02cSxsaIf both are specified,
13879c1e02cSxsa.Fl Q
13979c1e02cSxsatakes precedence.
1406c121f58Sjfb.It Fl v
1416c121f58SjfbDisplay version information and exit.
1420e60680aSxsa.It Fl w
1430e60680aSxsaExtract new files in read-write mode.
1440e60680aSxsaOverrides the setting of the
1450e60680aSxsa.Ev CVSREAD
1460e60680aSxsaenvironment variable.
1470e60680aSxsaThis is the default unless
1480e60680aSxsa.Ev CVSREAD
1490e60680aSxsais set or the
1500e60680aSxsa.Fl r
1510e60680aSxsaoption is specified.
1520f79b147Sjmc.It Fl z Ar level
1530f79b147SjmcSpecify the compression level to
1540f79b147Sjmc.Xr gzip 1
1550f79b147Sjmcwhen transferring files.
1560f79b147SjmcThe compression level ranges from 1 to 9,
1570f79b147Sjmcwith 1 being the fastest,
1580f79b147Sjmcand 9 providing the best level of compression.
1590f79b147SjmcThe default is 6.
1606c121f58Sjfb.El
1616c121f58Sjfb.Sh COMMANDS
16241d2436dSjmc.Nm
16341d2436dSjmcsupports the following commands:
16441d2436dSjmcadd,
16541d2436dSjmcadmin,
16641d2436dSjmcannotate,
16741d2436dSjmccheckout,
16841d2436dSjmccommit,
16941d2436dSjmcdiff,
17041d2436dSjmcedit,
17141d2436dSjmceditors,
17241d2436dSjmcexport,
17341d2436dSjmchistory,
17441d2436dSjmcimport,
17541d2436dSjmcinit,
17641d2436dSjmckserver,
17741d2436dSjmclog,
1789cbe2aa2Sxsarannotate,
17941d2436dSjmcrdiff,
18041d2436dSjmcrelease,
18141d2436dSjmcremove,
18241d2436dSjmcrlog,
18341d2436dSjmcrtag,
18441d2436dSjmcserver,
18541d2436dSjmcstatus,
18641d2436dSjmctag,
18741d2436dSjmcunedit,
18841d2436dSjmcupdate,
18941d2436dSjmcversion,
19041d2436dSjmcwatch,
19141d2436dSjmcwatchers.
19241d2436dSjmcThe commands are fully explained in this section.
193d0c7bbacSjmc.Pp
194d0c7bbacSjmcFiles may be selected by
195d0c7bbacSjmc.Em revision
196d0c7bbacSjmcor, where no revision is specified,
197d0c7bbacSjmcthe latest revision of the default branch is used.
198d0c7bbacSjmcRevisions are specified either by using the
199d0c7bbacSjmc.Fl r
200d0c7bbacSjmcoption or
201d0c7bbacSjmcby appending the revision number to any option that supports it.
202d0c7bbacSjmc.Pp
203d0c7bbacSjmc.Nm
204d0c7bbacSjmcsupports the notion of
205d0c7bbacSjmc.Em state .
206d0c7bbacSjmcThe state is an arbitrary string of characters used to describe a file
207d0c7bbacSjmc(or a specific revision of a file).
208d0c7bbacSjmcStates can be set or changed using the
209d0c7bbacSjmc.Fl s
210d0c7bbacSjmcoption, for CVS tools which support it.
211d0c7bbacSjmcThe state of a file/revision can be modified without having to
212d0c7bbacSjmc.Ic commit
213d0c7bbacSjmca new file/revision.
214d0c7bbacSjmcThe default state is
215d0c7bbacSjmc.Sq Exp
216d0c7bbacSjmc(Experimental).
217d0c7bbacSjmcExamples of states could be
218d0c7bbacSjmc.Sq Dev ,
219d0c7bbacSjmc.Sq Reviewed ,
220d0c7bbacSjmcor
221d0c7bbacSjmc.Sq Stab .
22241d2436dSjmc.Ss add
223e736e8bbSxsaBefore a file is known to
224e736e8bbSxsa.Nm ,
225e736e8bbSxsait must be added to the repository using this command.
2266c121f58SjfbAdding a file does not actually publish the contents of the
227e736e8bbSxsafile: the
2286de32eafSjmc.Ic commit
229e736e8bbSxsacommand must also be used to publish it into the repository,
230e736e8bbSxsaand thus let others access the file.
231e736e8bbSxsa.Pp
232e736e8bbSxsaNote: since directories have no versioning system, it is sufficient
233e736e8bbSxsato add them with the
234e736e8bbSxsa.Ic add
235e736e8bbSxsacommand alone; the
236e736e8bbSxsa.Ic commit
237e736e8bbSxsacommand is not necessary.
23841d2436dSjmc.Bd -literal -offset indent
2398e0c6030Ssobradousage: cvs add [-k mode] [-m msg] file ...
24041d2436dSjmc.Ed
2416c121f58Sjfb.Pp
242e8a73a57SjmcThe
243e8a73a57Sjmc.Ic add
244e8a73a57Sjmccommand takes the following options:
245e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
246e736e8bbSxsa.It Fl k Ar mode
247e736e8bbSxsaSpecify the keyword substitution mode.
248e8a73a57Sjmc.It Fl m Ar msg
249e8a73a57SjmcAttach log message
250e8a73a57Sjmc.Ar msg .
251e8a73a57SjmcBy default, no log message is required.
252e8a73a57Sjmc.El
253ae338b39Sjmc.Pp
254ae338b39SjmcAliases:
255ae338b39Sjmc.Ic ad ,
256ae338b39Sjmc.Ic new .
25741d2436dSjmc.Ss admin
25861978585SxsaThe
25961978585Sxsa.Ic admin
26061978585Sxsacommand is used to directly modify the RCS files.
26141d2436dSjmc.Bd -literal -offset indent
2628e0c6030Ssobradousage: cvs admin [-Iq] [-b branch] [-k mode] [-m rev:msg]
26341d2436dSjmc                 [-N tag[:rev]] [-n tag[:rev]] [-o rev]
26441d2436dSjmc                 [-s state[:rev]] [-t file | str]
26541d2436dSjmc.Ed
26661978585Sxsa.Pp
26761978585SxsaThe
26861978585Sxsa.Ic admin
26961978585Sxsacommand takes the following options:
27061978585Sxsa.Bl -tag -width Ds -offset 3n
27161978585Sxsa.It Fl b Ar branch
27261978585SxsaSet the default branch to
27361978585Sxsa.Ar branch .
27461978585Sxsa.It Fl I
27561978585SxsaCommand is interactive.
276589d075dSmoritz.It Fl k Ar mode
27761978585SxsaSpecify the keyword substitution mode.
27861978585Sxsa.It Fl m Ar rev : Ns Ar msg
27961978585SxsaChange the log message of a revision.
28061978585Sxsa.It Xo Fl N
28161978585Sxsa.Ar tag Ns Op : Ns Ar rev
28261978585Sxsa.Xc
28361978585SxsaSame as
28461978585Sxsa.Fl n ,
28561978585Sxsabut override tag if it already exists.
28661978585Sxsa.It Xo Fl n
28761978585Sxsa.Ar tag Ns Op : Ns Ar rev
28861978585Sxsa.Xc
28961978585SxsaAssociate the
29061978585Sxsa.Ar tag
29161978585Sxsawith the
29261978585Sxsa.Ar rev
29361978585Sxsaor the branch given as argument.
29461978585SxsaIf the revision or the branch is not specified, the tag is deleted.
29561978585SxsaThe
29661978585Sxsa.Sq \&:
29761978585Sxsacharacter means the association of the tag and the latest revision of
29861978585Sxsathe default branch.
29961978585SxsaA branch number ending with the
30061978585Sxsa.Sq \&.
30161978585Sxsacharacter means the current latest revision in the branch.
30261978585SxsaThis option is functionally the same as the
30361978585Sxsa.Ic rtag
30461978585Sxsacommand, but it avoids the check of the tags done with the
30561978585Sxsa.Pa CVSROOT/taginfo
30661978585Sxsafile.
30761978585Sxsa.It Fl o Ar rev
30861978585SxsaDelete one or more revisions.
30961978585SxsaThe specifications of the values or revisions are as follows:
31007ec1663Sderaadt.Bl -tag -width Ds
31161978585Sxsa.It rev
31261978585SxsaSpecific revision.
31361978585Sxsa.It rev1:rev2
31461978585SxsaDelete all revisions of a branch between
31561978585Sxsa.Ar rev1
31661978585Sxsaand
31761978585Sxsa.Ar rev2 .
31861978585Sxsa.It rev1::rev2
31961978585SxsaDelete all revisions of a branch between
32061978585Sxsa.Ar rev1
32161978585Sxsaand
32261978585Sxsa.Ar rev2
32361978585Sxsawithout deleting revisions
32461978585Sxsa.Ar rev1
32561978585Sxsaand
32661978585Sxsa.Ar rev2 .
32761978585Sxsa.It :rev
32861978585SxsaDelete all revisions of the branch until revision
32961978585Sxsa.Ar rev .
33061978585Sxsa.It rev:
33161978585SxsaDelete all revisions of the branch from revision
33261978585Sxsa.Ar rev
33361978585Sxsauntil the last revision of the branch.
33461978585Sxsa.El
33561978585Sxsa.It Fl q
33661978585SxsaQuiet mode.
33761978585Sxsa.It Xo Fl s
33861978585Sxsa.Ar state Ns Op : Ns Ar rev
33961978585Sxsa.Xc
34061978585SxsaChange state of a revision.
34161978585Sxsa.It Fl t Ar file \*(Ba Ar str
34261978585SxsaChange the descriptive text.
34361978585SxsaThe descriptive text is taken from the
34461978585Sxsa.Ar file
34561978585Sxsaspecified as argument or from the string
34661978585Sxsa.Ar str
34761978585Sxsagiven as argument if it is preceded by the
34861978585Sxsa.Sq -
34961978585Sxsacharacter.
35061978585SxsaIf no argument is used, the descriptive text is taken from standard input.
35161978585Sxsa.El
352ae338b39Sjmc.Pp
353ae338b39SjmcAliases:
354ae338b39Sjmc.Ic adm ,
355ae338b39Sjmc.Ic rcs .
35641d2436dSjmc.Ss annotate
3578889ae2aSxsaFor each line of any files specified, show information about its
3588889ae2aSxsalast revision.
3598889ae2aSxsaThe information given is the last revision when a modification occurred,
3608889ae2aSxsathe author's name, and the date of the revision.
36141d2436dSjmc.Bd -literal -offset indent
3629734ce85Sjmcusage: cvs annotate [-flR] [-D date | -r rev] [file ...]
36341d2436dSjmc.Ed
364ae338b39Sjmc.Pp
3651ae8e6acSxsaThe
366e8a73a57Sjmc.Ic annotate
367e8a73a57Sjmccommand takes the following options:
368e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
369e8a73a57Sjmc.It Fl D Ar date
370e8a73a57SjmcShow the annotations as of the latest revision no later than
371e8a73a57Sjmc.Ar date .
372e8a73a57Sjmc.It Fl f
373e8a73a57SjmcForce the use of the head revision if the specified
3741ae8e6acSxsatag or date is not found.
3751ae8e6acSxsaThis can be used in combination with
3761ae8e6acSxsa.Fl D
3771ae8e6acSxsaor
3781ae8e6acSxsa.Fl r
3791ae8e6acSxsato ensure that there is some output from the
3801ae8e6acSxsa.Ic annotate
3811ae8e6acSxsacommand, even if only to show Revision 1.1 of the file.
382e8a73a57Sjmc.It Fl l
383e8a73a57SjmcLimit the scope of the search to the local directory
384e8a73a57Sjmconly and disable recursive behaviour.
385e8a73a57Sjmc.It Fl R
386e8a73a57SjmcEnable recursive behaviour.
387e8a73a57SjmcThis is the default.
388e8a73a57Sjmc.It Fl r Ar rev
389e8a73a57SjmcShow annotations as of revision
3901ae8e6acSxsa.Ar rev
3911ae8e6acSxsa(can be a revision number or a tag).
392e8a73a57Sjmc.El
3931ae8e6acSxsa.Pp
394ae338b39SjmcAliases:
395e4276007Sjfb.Ic ann ,
396e4276007Sjfb.Ic blame .
39741d2436dSjmc.Ss checkout
398e3444bd9SjfbThe
3996de32eafSjmc.Ic checkout
400e3444bd9Sjfbcommand is used to create a local copy of one or more modules present on the
401e3444bd9Sjfbtarget CVS repository.
40241d2436dSjmc.Bd -literal -offset indent
4038e0c6030Ssobradousage: cvs checkout [-AcflNnPpRs] [-d dir] [-j rev] [-k mode]
40441d2436dSjmc                    -D date | -r rev module ...
40541d2436dSjmc.Ed
406ae338b39Sjmc.Pp
407c55c758eSxsaThe
408c55c758eSxsa.Ic checkout
409c55c758eSxsacommand takes the following options:
410c55c758eSxsa.Bl -tag -width Ds -offset 3n
411c55c758eSxsa.It Fl A
412ef6582eeSxsaReset any sticky tags, dates, or keyword substitution modes that
413ef6582eeSxsahave been set on the tree.
414c55c758eSxsa.It Fl c
415c55c758eSxsaDisplay the list of available modules.
416c55c758eSxsa.It Fl D Ar date
417c55c758eSxsaCheck out as of the latest revision no later than
418c55c758eSxsa.Ar date
419d981b1b0Sxsa(implies
420d981b1b0Sxsa.Fl P )
421c55c758eSxsa(is sticky).
422c55c758eSxsa.It Fl d Ar dir
423c55c758eSxsaCheck out in directory
424c55c758eSxsa.Ar dir
425c55c758eSxsainstead of the directory bearing the same name as the
426c55c758eSxsa.Ar module .
427c55c758eSxsa.It Fl f
428c55c758eSxsaForce the use of the head revision if the specified
429c55c758eSxsatag or date is not found.
430c55c758eSxsa.It Fl j Ar rev
431c55c758eSxsaMerge in changes made between current revision and
432c55c758eSxsa.Ar rev .
433c55c758eSxsaIf two
434c55c758eSxsa.Fl j
435c55c758eSxsaoptions are specified, only merge the differences between the two
436c55c758eSxsarevisions of the branch.
437c55c758eSxsaThis allows successive merges without having to resolve
438c55c758eSxsaalready resolved conflicts again.
439c55c758eSxsa.It Fl k Ar mode
440c55c758eSxsaSpecify the keyword substitution mode (is sticky).
441c55c758eSxsa.It Fl l
442c55c758eSxsaLimit the scope of the search to the local directory
443c55c758eSxsaonly and disable recursive behaviour.
444c55c758eSxsa.It Fl N
445c55c758eSxsaIf used in conjunction with the
446c55c758eSxsa.Fl d
447c55c758eSxsaoption, files are placed in local directory
448c55c758eSxsa.Ar module ,
449c55c758eSxsalocated in directory
450c55c758eSxsa.Ar dir .
451c55c758eSxsa.It Fl n
452c55c758eSxsaDo not execute programs listed in the
453c55c758eSxsa.Pa CVSROOT/modules
454c55c758eSxsafile.
455c55c758eSxsa.It Fl P
456c55c758eSxsaPrune empty directories.
457c55c758eSxsa.It Fl p
458c55c758eSxsaCheck out files to standard output (avoids stickiness).
459c55c758eSxsa.It Fl R
460c55c758eSxsaEnable recursive behaviour.
461c55c758eSxsaThis is the default.
462c55c758eSxsa.It Fl r Ar rev
463c55c758eSxsaCheck out from a particular revision or branch (implies
464c55c758eSxsa.Fl P )
465c55c758eSxsa(is sticky).
466c55c758eSxsa.It Fl s
467c55c758eSxsaLike
468c55c758eSxsa.Fl c ,
469c55c758eSxsabut include module status.
470c55c758eSxsa.El
471c55c758eSxsa.Pp
472ae338b39SjmcAliases:
473ae338b39Sjmc.Ic co ,
474ae338b39Sjmc.Ic get .
47541d2436dSjmc.Ss commit
4766c121f58SjfbThe
4776de32eafSjmc.Ic commit
4786c121f58Sjfbcommand is used to send local changes back to the server and update the
4796c121f58Sjfbrepository's information to reflect the changes.
48041d2436dSjmc.Bd -literal -offset indent
4818e0c6030Ssobradousage: cvs commit [-flnR] [-F logfile | -m msg] [-r rev] [file ...]
48241d2436dSjmc.Ed
483ae338b39Sjmc.Pp
4841ca6d1adSxsaThe
485e8a73a57Sjmc.Ic commit
486e8a73a57Sjmccommand takes the following options:
487e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
488e8a73a57Sjmc.It Fl F Ar logfile
489e8a73a57SjmcSpecify a
4901ca6d1adSxsa.Ar file
491e8a73a57Sjmcwhich contains the log message.
492e8a73a57Sjmc.It Fl f
493e8a73a57SjmcForce a file to be committed, even though it is unchanged.
494e8a73a57Sjmc.It Fl l
495e8a73a57SjmcLimit the scope of the search to the local directory
496e8a73a57Sjmconly and disable recursive behaviour.
497e8a73a57Sjmc.It Fl m Ar msg
498e8a73a57SjmcSpecify a log message on the command line (suppresses the editor invocation).
499e8a73a57Sjmc.It Fl n
500e8a73a57SjmcDo not execute programs listed in the
501e8a73a57Sjmc.Pa CVSROOT/modules
502e8a73a57Sjmcfile.
503e8a73a57Sjmc.It Fl R
504e8a73a57SjmcEnable recursive behaviour.
505e8a73a57SjmcThis is the default.
506e8a73a57Sjmc.It Fl r Ar rev
507e8a73a57SjmcCommit to a particular symbolic or numerical revision.
508e8a73a57Sjmc.El
5091ca6d1adSxsa.Pp
510ae338b39SjmcAliases:
511ae338b39Sjmc.Ic ci ,
512ae338b39Sjmc.Ic com .
51341d2436dSjmc.Ss diff
51481767edbSjfbThe
5156de32eafSjmc.Ic diff
51681767edbSjfbcommand is very similar to the
51781767edbSjfb.Xr diff 1
51832c927a3Sjfbprogram, except that the differential comparisons that it generates are
51981767edbSjfbbetween local or remote revisions of files stored in the CVS repository.
52041d2436dSjmc.Bd -literal -offset indent
5216412cad2Ssthenusage: cvs diff [-abcdilNnpRuw]
52241d2436dSjmc                [[-D date1 | -r rev1] [-D date2 | -r rev2]]
52341d2436dSjmc                [-k mode] [file ...]
52441d2436dSjmc.Ed
525ae338b39Sjmc.Pp
52649c9e1b1SxsaThe
52749c9e1b1Sxsa.Ic diff
52849c9e1b1Sxsacommand takes the following options:
52949c9e1b1Sxsa.Bl -tag -width Ds -offset 3n
5306412cad2Ssthen.It Fl a
5316412cad2SsthenTreat all files as ASCII text.
5326412cad2SsthenSee
5336412cad2Ssthen.Xr diff 1
5346412cad2Ssthenfor more information.
5356412cad2Ssthen.It Fl b
5366412cad2SsthenCauses trailing blanks (spaces and tabs) to be ignored, and other
5376412cad2Ssthenstrings of blanks to compare equal.
53849c9e1b1Sxsa.It Fl c
53949c9e1b1SxsaProduces a diff with three lines of context.
54049c9e1b1SxsaSee
54149c9e1b1Sxsa.Xr diff 1
54249c9e1b1Sxsafor more information.
54349c9e1b1Sxsa.It Xo Fl D Ar date1
54449c9e1b1Sxsa.Op Fl D Ar date2
54549c9e1b1Sxsa.Xc
54649c9e1b1SxsaDifferences between the revision at
54749c9e1b1Sxsa.Ar date1
54849c9e1b1Sxsaand the working copy or
54949c9e1b1Sxsa.Ar date1
55049c9e1b1Sxsaand
55149c9e1b1Sxsa.Ar date2
55249c9e1b1Sxsa(if specified).
553761032a7Sjmc.It Fl d
554761032a7SjmcTry very hard to produce a diff as small as possible.
555761032a7SjmcSee
556761032a7Sjmc.Xr diff 1
557761032a7Sjmcfor more information.
55849c9e1b1Sxsa.It Fl i
55949c9e1b1SxsaIgnore the case of letters.
56049c9e1b1SxsaFor example,
56149c9e1b1Sxsa.Sq A
56249c9e1b1Sxsawill compare equal to
56349c9e1b1Sxsa.Sq a .
56449c9e1b1Sxsa.It Fl k Ar mode
56549c9e1b1SxsaSpecify the keyword substitution mode.
56649c9e1b1Sxsa.It Fl l
56749c9e1b1SxsaLimit the scope of the search to the local directory
56849c9e1b1Sxsaonly and disable recursive behaviour.
56949c9e1b1Sxsa.It Fl N
57049c9e1b1SxsaInclude added or removed files.
571394180a4Sjfb.It Fl n
572394180a4SjfbProduces a diff in the same format as that used by
573394180a4Sjfb.Xr rcsdiff 1 ,
574394180a4Sjfbwith a count of changed lines on each insert or delete command.
57549c9e1b1Sxsa.It Fl p
57649c9e1b1SxsaWith unified and context diffs, show with each change the first
57749c9e1b1Sxsa40 characters of the last line before the context beginning with
57849c9e1b1Sxsaa letter, an underscore or a dollar sign.
57949c9e1b1SxsaSee
58049c9e1b1Sxsa.Xr diff 1
58149c9e1b1Sxsafor more information.
58249c9e1b1Sxsa.It Fl R
58349c9e1b1SxsaEnable recursive behaviour.
58449c9e1b1SxsaThis is the default.
58549c9e1b1Sxsa.It Xo Fl r Ar rev1
58649c9e1b1Sxsa.Op Fl r Ar rev2
58749c9e1b1Sxsa.Xc
58849c9e1b1SxsaDifferences between revision
58949c9e1b1Sxsa.Ar rev1
59049c9e1b1Sxsaand the working copy or
59149c9e1b1Sxsa.Ar rev1
59249c9e1b1Sxsaand
59349c9e1b1Sxsa.Ar rev2
59449c9e1b1Sxsa(if specified).
595219c50abSray.It Fl t
596219c50abSrayWill expand tabs in output lines.
597219c50abSrayNormal or
598219c50abSray.Fl c
599219c50abSrayoutput adds character(s) to the front of each line which may screw up
600219c50abSraythe indentation of the original source lines and make the output listing
601219c50abSraydifficult to interpret.
602219c50abSrayThis option will preserve the original source's indentation.
60349c9e1b1Sxsa.It Fl u
60449c9e1b1SxsaProduces a unified diff with three lines of context.
60549c9e1b1SxsaSee
60649c9e1b1Sxsa.Xr diff 1
60749c9e1b1Sxsafor more information.
6086412cad2Ssthen.It Fl w
6096412cad2SsthenIs similar to
6106412cad2Ssthen.Fl b
6116412cad2Ssthenbut causes whitespace (blanks and tabs) to be totally ignored.
612761032a7SjmcFor example,
6136412cad2Ssthen.Dq if (\ \&a == b \&)
6146412cad2Ssthenwill compare equal to
6156412cad2Ssthen.Dq if(a==b) .
61649c9e1b1Sxsa.El
61749c9e1b1Sxsa.Pp
618ae338b39SjmcAliases:
619ae338b39Sjmc.Ic di ,
620ae338b39Sjmc.Ic dif .
62141d2436dSjmc.Ss edit
6222e0415b6SxsaThe
6232e0415b6Sxsa.Ic edit
624e8a73a57Sjmccommand is used to make a file that is being watched
625e8a73a57Sjmc(and therefore read-only)
62619b92625Sderaadtreadable and writable and to inform others that it is in the
62719b92625Sderaadtprocess of being changed.
6282e0415b6SxsaNotifications terminate when the
6292e0415b6Sxsa.Ic commit
6302e0415b6Sxsacommand is issued.
6312e0415b6SxsaEditing rights on the file can be given up using the
6322e0415b6Sxsa.Ic unedit
633e8a73a57Sjmccommand, which terminates the temporary notifications.
63441d2436dSjmc.Bd -literal -offset indent
6358e0c6030Ssobradousage: cvs edit [-lR] [-a action] [file ...]
63641d2436dSjmc.Ed
6372e0415b6Sxsa.Pp
6382e0415b6SxsaThe
639e8a73a57Sjmc.Ic edit
640e8a73a57Sjmccommand takes the following options:
641e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
642e8a73a57Sjmc.It Fl a Ar action
643e8a73a57SjmcSpecify the temporary notification wanted:
644e8a73a57Sjmc.Pp
64507ec1663Sderaadt.Bl -tag -width Ds -compact
6462e0415b6Sxsa.It Cm commit
647e8a73a57SjmcAnother user has committed changes to the file.
6482e0415b6Sxsa.It Cm edit
6492e0415b6SxsaAnother user has issued the
6502e0415b6Sxsa.Ic edit
651e8a73a57Sjmccommand on the file.
6522e0415b6Sxsa.It Cm unedit
6532e0415b6SxsaAnother user has issued the
6542e0415b6Sxsa.Ic unedit
655e8a73a57Sjmccommand on the file.
6562e0415b6Sxsa.It Cm all
6572e0415b6SxsaAll of the above.
6582e0415b6Sxsa.It Cm none
6592e0415b6SxsaNone of the above.
6602e0415b6Sxsa.El
6612e0415b6Sxsa.Pp
6622e0415b6SxsaThe
6632e0415b6Sxsa.Fl a
6642e0415b6Sxsaflag may appear more than once, or not at all.
6652e0415b6SxsaIf omitted, the action defaults to
666de78f31aSjmc.Cm all .
667e8a73a57Sjmc.It Fl l
668e8a73a57SjmcLimit the scope of the search to the local directory
669e8a73a57Sjmconly and disable recursive behaviour.
670e8a73a57Sjmc.It Fl R
671e8a73a57SjmcEnable recursive behaviour.
672e8a73a57SjmcThis is the default.
673e8a73a57Sjmc.El
67441d2436dSjmc.Ss editors
6751f13a714SxsaThe
6761f13a714Sxsa.Ic editors
6771f13a714Sxsacommand lists the users with edition rights on a file.
6781f13a714SxsaFor that, pseudo-lock mode must be enabled (see the
6791f13a714Sxsa.Ic watch
6801f13a714Sxsacommand).
681*7f0be37cSmmccThe email address of the user editing the file, the timestamp
6821f13a714Sxsawhen the edition first started, the host from where the edition
6831f13a714Sxsahas been requested and the path to the edited file are listed.
68441d2436dSjmc.Bd -literal -offset indent
6858e0c6030Ssobradousage: cvs editors [-lR] [file ...]
68641d2436dSjmc.Ed
6871f13a714Sxsa.Pp
6881f13a714SxsaThe
689e8a73a57Sjmc.Ic editors
690e8a73a57Sjmccommand takes the following options:
691e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
692e8a73a57Sjmc.It Fl l
693e8a73a57SjmcLimit the scope of the search to the local directory
694e8a73a57Sjmconly and disable recursive behaviour.
695e8a73a57Sjmc.It Fl R
696e8a73a57SjmcEnable recursive behaviour.
697e8a73a57SjmcThis is the default.
698e8a73a57Sjmc.El
69941d2436dSjmc.Ss export
700fac19670SxsaThe
701fac19670Sxsa.Ic export
702fac19670Sxsacommand extracts a copy of
703fac19670Sxsa.Ar module
704fac19670Sxsawithout including the directories used for management by
705fac19670Sxsa.Nm .
706fac19670SxsaThis eases production of a software release.
707fac19670SxsaA date or a revision must be specified for the command to be valid,
708fac19670Sxsawhich ensures that later extractions can be reproduced with the same
709fac19670Sxsaoptions as the release.
710fac19670Sxsa.Pp
711fac19670SxsaThe checked out module's files will be placed in a directory
712fac19670Sxsabearing the same name as the checked out module, by default.
71341d2436dSjmc.Bd -literal -offset indent
7148e0c6030Ssobradousage: cvs export [-flNnR] [-d dir] [-k mode]
71541d2436dSjmc                  -D date | -r rev module ...
71641d2436dSjmc.Ed
717fac19670Sxsa.Pp
718fac19670SxsaThe
719fac19670Sxsa.Ic export
720fac19670Sxsacommand takes the following options:
721fac19670Sxsa.Bl -tag -width Ds -offset 3n
722fac19670Sxsa.It Fl D Ar date
723fac19670SxsaExport as of the latest revision no later than
724fac19670Sxsa.Ar date .
725fac19670Sxsa.It Fl d Ar dir
726fac19670SxsaExport in directory
727fac19670Sxsa.Ar dir
728fac19670Sxsainstead of the directory bearing the same name as the
729fac19670Sxsa.Ar module .
730fac19670Sxsa.It Fl f
731fac19670SxsaForce the use of the head revision if the specified
732fac19670Sxsatag or date is not found.
733fac19670SxsaThis can be used in combination with
734fac19670Sxsa.Fl D
735fac19670Sxsaor
736fac19670Sxsa.Fl r
737fac19670Sxsato ensure that the
738fac19670Sxsa.Ic export
739fac19670Sxsacommand is valid.
740fac19670Sxsa.It Fl k Ar mode
741fac19670SxsaSpecify the keyword substitution mode: the
742fac19670Sxsa.Fl k Ar v
743fac19670Sxsaoption is often used to avoid substitution of keywords during
744fac19670Sxsaa release cycle.
745fac19670SxsaHowever, be aware that it does not handle an export containing
746fac19670Sxsabinary files correctly.
747fac19670Sxsa.It Fl l
748fac19670SxsaLimit the scope of the search to the local directory
749fac19670Sxsaonly and disable recursive behaviour.
750fac19670Sxsa.It Fl N
751fac19670SxsaIf used in conjunction with the
752fac19670Sxsa.Fl d
753fac19670Sxsaoption, files are placed in local directory
754fac19670Sxsa.Ar module ,
755fac19670Sxsalocated in directory
756fac19670Sxsa.Ar dir .
757fac19670Sxsa.It Fl n
758fac19670SxsaDo not execute programs listed in the
759fac19670Sxsa.Pa CVSROOT/modules
760fac19670Sxsafile.
761fac19670Sxsa.It Fl R
762fac19670SxsaEnable recursive behaviour.
763fac19670SxsaThis is the default.
764fac19670Sxsa.It Fl r Ar rev
765fac19670SxsaExport from a particular symbolic or numerical revision.
766fac19670Sxsa.El
767ae338b39Sjmc.Pp
768ae338b39SjmcAliases:
769ae338b39Sjmc.Ic ex ,
770ae338b39Sjmc.Ic exp .
77141d2436dSjmc.Ss history
77267e2c939SxsaThe
77367e2c939Sxsa.Ic history
77467e2c939Sxsacommand is used to display the history of actions done in the
77567e2c939Sxsabase repository.
77667e2c939SxsaThis functionality is only available if the
7777c2786a1Sxsa.Pa CVSROOT/history
77867e2c939Sxsafile has been created.
77967e2c939SxsaOnly the
78067e2c939Sxsa.Ic checkout ,
78167e2c939Sxsa.Ic commit ,
78267e2c939Sxsa.Ic export ,
78367e2c939Sxsa.Ic release ,
78467e2c939Sxsa.Ic rtag ,
78567e2c939Sxsaand
78667e2c939Sxsa.Ic update
78767e2c939Sxsacommands are logged into this file.
78841d2436dSjmc.Bd -literal -offset indent
7898e0c6030Ssobradousage: cvs history [-aceloTw] [-b str] [-D date] [-f file]
79041d2436dSjmc                   [-m module] [-n module] [-p path] [-r rev]
79141d2436dSjmc                   [-t tag] [-u user] [-x ACEFGMORTUW] [-z tz]
79241d2436dSjmc                   [file ...]
79341d2436dSjmc.Ed
79467e2c939Sxsa.Pp
79567e2c939SxsaThe
79667e2c939Sxsa.Ic history
79767e2c939Sxsacommand takes the following options:
79867e2c939Sxsa.Bl -tag -width Ds -offset 3n
79967e2c939Sxsa.It Fl a
80067e2c939SxsaDisplay records for all users.
80167e2c939SxsaBy default, only records from the user issuing the
80267e2c939Sxsa.Ic history
80367e2c939Sxsacommand are displayed.
80467e2c939Sxsa.It Fl b Ar str
80567e2c939SxsaDisplay everything back to a record containing the string
80667e2c939Sxsa.Ar str
80767e2c939Sxsain either the module name, the file name, or the repository path.
80867e2c939Sxsa.It Fl c
80967e2c939SxsaDisplay the archived files
81067e2c939Sxsa.Pf ( Ic commit
81167e2c939Sxsacommand).
81267e2c939Sxsa.It Fl D Ar date
81367e2c939SxsaReport no later than
81467e2c939Sxsa.Ar date .
81567e2c939Sxsa.It Fl e
81667e2c939SxsaSelect all records (same as
81767e2c939Sxsa.Fl x
81867e2c939Sxsawith all types).
81967e2c939Sxsa.It Fl f Ar file
82067e2c939SxsaDisplay records related to
82167e2c939Sxsa.Ar file .
82267e2c939Sxsa.It Fl l
82367e2c939SxsaShow last checkouts of modules with the
82467e2c939Sxsa.Ic checkout
82567e2c939Sxsacommand.
82667e2c939Sxsa.It Fl m Ar module
82767e2c939SxsaLook for the
82867e2c939Sxsa.Ar module
82967e2c939Sxsa(can be used several times).
83067e2c939Sxsa.It Fl n Ar module
83167e2c939SxsaSearch into the
83267e2c939Sxsa.Ar module .
83367e2c939Sxsa.It Fl o
83467e2c939SxsaReport on modules checked out by users.
83567e2c939Sxsa.It Fl p Ar path
83667e2c939SxsaDisplay records from the base repository being in the directory
83767e2c939Sxsaspecified by the
83867e2c939Sxsa.Ar path .
83967e2c939Sxsa.It Fl r Ar rev
84067e2c939SxsaReport for a particular revision (checks in the RCS file).
8418e0c6030Ssobrado.It Fl T
8428e0c6030SsobradoReport on all tags.
84367e2c939Sxsa.It Fl t Ar tag
84467e2c939SxsaReport since tag record placed in the
8457c2786a1Sxsa.Pa CVSROOT/history
84667e2c939Sxsafile by any user.
84767e2c939Sxsa.It Fl u Ar user
84867e2c939SxsaReport for a specified
84967e2c939Sxsa.Ar user .
85067e2c939SxsaCan be used several times to match many users.
85167e2c939Sxsa.It Fl w
85267e2c939SxsaCheck that records match the current working directory.
85367e2c939Sxsa.It Fl x Ar ACEFGMORTUW
85467e2c939SxsaExtract by a specific record type specified by a single letter.
85567e2c939SxsaThey can be used in combination.
85667e2c939SxsaThe available types are as follows:
85707ec1663Sderaadt.Bl -tag -width Ds
85867e2c939Sxsa.It A
85967e2c939SxsaA file has been added with the
86067e2c939Sxsa.Ic add
86167e2c939Sxsacommand.
86267e2c939Sxsa.It C
86367e2c939SxsaA merge has been done, but unresolved conflicts still remain.
86467e2c939Sxsa.It E
86567e2c939SxsaExport.
86667e2c939Sxsa.It F
86767e2c939SxsaRelease.
86867e2c939Sxsa.It G
86967e2c939SxsaA merge has been done without conflict.
87067e2c939Sxsa.It M
87167e2c939SxsaA file has been modified (using the
87267e2c939Sxsa.Ic commit
87367e2c939Sxsacommand).
87467e2c939Sxsa.It O
87567e2c939SxsaCheckout.
87667e2c939Sxsa.It R
87767e2c939SxsaA file has been removed with the
87867e2c939Sxsa.Ic remove
87967e2c939Sxsacommand.
88067e2c939Sxsa.It T
88167e2c939SxsaRtag.
88267e2c939Sxsa.It U
88367e2c939SxsaNormal update.
88467e2c939Sxsa.It W
88567e2c939SxsaThe file has been deleted from the directory because it does not
88667e2c939Sxsaexist anymore in the base repository.
88767e2c939Sxsa.El
88867e2c939Sxsa.It Fl z Ar tz
8898e0c6030SsobradoDisplay records with the time synchronized with timezone
8908e0c6030Ssobrado.Ar tz .
89167e2c939Sxsa.El
89267e2c939Sxsa.Pp
89367e2c939SxsaAll records have the following five first columns:
89467e2c939Sxsa.Pp
89567e2c939Sxsa.Bl -dash -compact
89667e2c939Sxsa.It
89767e2c939SxsaThe record type (the
89867e2c939Sxsa.Fl x
89967e2c939Sxsaoption).
90067e2c939Sxsa.It
90167e2c939SxsaThe date of the action.
90267e2c939Sxsa.It
90367e2c939SxsaThe time of the action.
90467e2c939Sxsa.It
90567e2c939SxsaThe time zone.
90667e2c939Sxsa.It
90767e2c939SxsaThe user who made the action.
90867e2c939Sxsa.El
90967e2c939Sxsa.Pp
91009e43114SxsaThe other columns vary depending on the command issued:
91109e43114Sxsa.Pp
91209e43114SxsaFor records coming from the
91309e43114Sxsa.Ic rtag
91409e43114Sxsacommand, the additional columns are as follows:
91509e43114Sxsa.Bd -literal -offset indent
91609e43114Sxsa<module> [<tag>:<argument>] {<working directory>}
91709e43114Sxsa.Ed
91809e43114Sxsa.Pp
91909e43114SxsaFor records coming from the
92009e43114Sxsa.Ic checkout
92109e43114Sxsaand
92209e43114Sxsa.Ic export
92309e43114Sxsacommands, the additional columns are as follows:
92409e43114Sxsa.Bd -literal -offset indent
92509e43114Sxsa<request> <repository> =<module>= <working directory>
92609e43114Sxsa.Ed
92709e43114Sxsa.Pp
92809e43114SxsaFor records coming from the
92909e43114Sxsa.Ic release
93009e43114Sxsacommand, the additional columns are as follows:
93109e43114Sxsa.Bd -literal -offset indent
93209e43114Sxsa=<module>= <working directory>
93309e43114Sxsa.Ed
93409e43114Sxsa.Pp
93509e43114SxsaFor records coming from the
93609e43114Sxsa.Ic commit
93709e43114Sxsaand
93809e43114Sxsa.Ic update
93909e43114Sxsacommands, the additional columns are as follows:
94009e43114Sxsa.Bd -literal -offset indent
94109e43114Sxsa<version> <file> <module> == <working directory>
94209e43114Sxsa.Ed
943ae338b39Sjmc.Pp
944ae338b39SjmcAliases:
945ae338b39Sjmc.Ic hi ,
946ae338b39Sjmc.Ic his .
94741d2436dSjmc.Ss import
948ae338b39SjmcImport sources into CVS using vendor branches.
949ae338b39Sjmc.Pp
95081a46c1dSjmcAt least three arguments are required:
951788b3522Sxsa.Ar module
95281a46c1dSjmcspecifies the location of the sources to be imported;
95381a46c1dSjmc.Ar vendortag
95481a46c1dSjmcis a tag for the entire branch;
95581a46c1dSjmc.Ar releasetag
95619b92625Sderaadtis used to identify the files created with
957e8a73a57Sjmc.Ic cvs import .
95841d2436dSjmc.Bd -literal -offset indent
9598e0c6030Ssobradousage: cvs import [-d] [-b branch] [-I ign] [-k mode] [-m msg]
96041d2436dSjmc                  [-W spec] module vendortag releasetag
96141d2436dSjmc.Ed
962e8a73a57Sjmc.Pp
963e8a73a57SjmcThe
964e8a73a57Sjmc.Ic import
965e8a73a57Sjmccommand takes the following options:
966e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
967e8a73a57Sjmc.It Fl b Ar branch
968e8a73a57SjmcSpecify the first-level branch number.
9697fb497afSxsa.It Fl d
9707fb497afSxsaUse the file's last modification time as the timestamp for the
9717fb497afSxsainitial revisions.
972788b3522Sxsa.It Fl I Ar ign
973788b3522SxsaIgnore files specified by
974788b3522Sxsa.Ar ign .
975788b3522SxsaThis option can be used several times on the command line.
976788b3522SxsaTo see all files, use the
977788b3522Sxsa.Fl I Ar !\&
978788b3522Sxsaspecification.
979788b3522Sxsa.It Fl k Ar mode
980788b3522SxsaSpecify the keyword substitution mode (is sticky).
981e8a73a57Sjmc.It Fl m Ar msg
982e8a73a57SjmcSpecify the log message to send.
983788b3522Sxsa.It Fl W Ar spec
984788b3522SxsaWrappers specification line.
985e8a73a57Sjmc.El
98681a46c1dSjmc.Pp
987ae338b39SjmcAliases:
988ae338b39Sjmc.Ic im ,
989ae338b39Sjmc.Ic imp .
99041d2436dSjmc.Ss init
991ae338b39SjmcCreate a CVS repository if it doesn't exist.
99241d2436dSjmc.Ss kserver
993ae338b39SjmcStart a Kerberos authentication server.
99441d2436dSjmc.Ss log
995798300bdSxsaThe
996798300bdSxsa.Ic log
997798300bdSxsacommand displays information on a
998798300bdSxsa.Ar file
999798300bdSxsasuch as its different revisions, description, different tags,
1000798300bdSxsaas well as the comments, dates, and authors of these revisions.
1001798300bdSxsaBy default, the
1002798300bdSxsa.Ic log
1003798300bdSxsacommand displays all the available information; the options are only
1004798300bdSxsaused to restrict the displayed information.
100541d2436dSjmc.Bd -literal -offset indent
10068e0c6030Ssobradousage: cvs log [-bhlNRt] [-d dates] [-r revs] [-s state]
100741d2436dSjmc               [-w users] [file ...]
100841d2436dSjmc.Ed
1009798300bdSxsa.Pp
1010798300bdSxsaThe
1011798300bdSxsa.Ic log
1012798300bdSxsacommand takes the following options:
1013798300bdSxsa.Bl -tag -width Ds -offset 3n
1014798300bdSxsa.It Fl b
1015798300bdSxsaList revisions of the default branch only.
1016798300bdSxsa.It Fl d Ar dates
1017798300bdSxsaSpecify revisions with dates matching the specification.
1018798300bdSxsaThe specification might be as follows:
101907ec1663Sderaadt.Bl -tag -width Ds
10207e45c5f2Ssobrado.It date1<date2 or date2>date1
1021798300bdSxsaSelect all revisions between
10227e45c5f2Ssobrado.Ar date1
1023798300bdSxsaand
10247e45c5f2Ssobrado.Ar date2 .
10257e45c5f2Ssobrado.It <date or date>
1026798300bdSxsaSelect all revisions before
10277e45c5f2Ssobrado.Ar date .
10287e45c5f2Ssobrado.It >date or date<
1029798300bdSxsaSelect all revisions after
10307e45c5f2Ssobrado.Ar date .
10317e45c5f2Ssobrado.It date
1032798300bdSxsaSelect the latest revision before or equal to
10337e45c5f2Ssobrado.Ar date .
1034798300bdSxsa.El
1035798300bdSxsa.Pp
1036798300bdSxsaThe
1037798300bdSxsa.Sq \*(Gt
1038798300bdSxsaand
1039798300bdSxsa.Sq \*(Lt
1040798300bdSxsacharacters can be followed by the
1041798300bdSxsa.Sq =
1042798300bdSxsacharacter to imply an inclusive specification.
1043798300bdSxsaSeveral specifications can be used by separating them with the
1044798300bdSxsa.Sq \&;
1045798300bdSxsacharacter.
1046798300bdSxsa.It Fl h
1047798300bdSxsaPrint header only.
1048798300bdSxsa.It Fl l
1049798300bdSxsaLimit the scope of the search to the local directory only.
1050798300bdSxsa.It Fl N
1051798300bdSxsaDo not list tags.
1052798300bdSxsa.It Fl R
1053798300bdSxsaPrint name of RCS file only.
1054798300bdSxsa.It Fl r Ar revs
1055798300bdSxsaSpecify revision(s) to list:
105607ec1663Sderaadt.Bl -tag -width Ds
10578e0c6030Ssobrado.It rev1,rev2,...
1058798300bdSxsaA list of revisions is specified by separating names or numbers
1059798300bdSxsaof revisions by the
1060798300bdSxsa.Sq \&,
1061798300bdSxsacharacter.
10628e0c6030Ssobrado.It rev1:rev2
1063798300bdSxsaList all revisions between
10648e0c6030Ssobrado.Ar rev1
1065798300bdSxsaand
10668e0c6030Ssobrado.Ar rev2
1067798300bdSxsa(they must be on the same branch).
10688e0c6030Ssobrado.It :rev
1069798300bdSxsaList all revisions since the beginning of the branch until
10708e0c6030Ssobrado.Ar rev
1071798300bdSxsaincluded.
10728e0c6030Ssobrado.It rev:
1073798300bdSxsaList all revisions of the branch beginning with
10748e0c6030Ssobrado.Ar rev .
10758e0c6030Ssobrado.It branch
1076798300bdSxsaList all revisions of a branch.
10778e0c6030Ssobrado.It branch.
1078798300bdSxsaList the latest revision of the branch
10798e0c6030Ssobrado.Ar branch .
10808e0c6030Ssobrado.It branch1:branch2
1081798300bdSxsaList all revisions of branches between
10828e0c6030Ssobrado.Ar branch1
1083798300bdSxsaand
10848e0c6030Ssobrado.Ar branch2 .
1085798300bdSxsa.El
1086798300bdSxsa.Pp
1087798300bdSxsaWithout argument, the
1088798300bdSxsa.Fl r
1089798300bdSxsaoption means the latest revision of the default branch.
1090798300bdSxsa.It Fl s Ar state
1091798300bdSxsaList revisions of the specified
1092798300bdSxsa.Ar state
1093798300bdSxsaonly.
1094798300bdSxsaSeveral states can be listed by separating them with the
1095798300bdSxsa.Sq \&,
1096798300bdSxsacharacter.
1097798300bdSxsa.It Fl t
1098798300bdSxsaPrint header and description only.
1099798300bdSxsa.It Fl w Ar users
1100798300bdSxsaDo not list revisions made by specified
1101798300bdSxsa.Ar users .
1102798300bdSxsaUsernames should be separated by the
1103798300bdSxsa.Sq \&,
1104798300bdSxsacharacter.
1105798300bdSxsa.El
1106ae338b39Sjmc.Pp
1107ae338b39SjmcAliases:
1108ae338b39Sjmc.Ic lo .
11099cbe2aa2Sxsa.Ss rannotate
11109cbe2aa2SxsaFor each line of any files specified, show information about its
11119cbe2aa2Sxsalast revision.
11129cbe2aa2SxsaThe information given is the last revision when a modification occurred,
11139cbe2aa2Sxsathe author's name, and the date of the revision.
11149cbe2aa2SxsaThis command does not need a local checkout of the repository
11159cbe2aa2Sxsato work.
11169cbe2aa2Sxsa.Bd -literal -offset indent
11179734ce85Sjmcusage: cvs rannotate [-flR] [-D date | -r rev] module ...
11189cbe2aa2Sxsa.Ed
11199cbe2aa2Sxsa.Pp
11209cbe2aa2SxsaThe
11219cbe2aa2Sxsa.Ic rannotate
11229cbe2aa2Sxsacommand takes the following options:
11239cbe2aa2Sxsa.Bl -tag -width Ds -offset 3n
11249cbe2aa2Sxsa.It Fl D Ar date
11259cbe2aa2SxsaShow the annotations as of the latest revision no later than
11269cbe2aa2Sxsa.Ar date .
11279cbe2aa2Sxsa.It Fl f
11289cbe2aa2SxsaForce the use of the head revision if the specified
11299cbe2aa2Sxsatag or date is not found.
11309cbe2aa2SxsaThis can be used in combination with
11319cbe2aa2Sxsa.Fl D
11329cbe2aa2Sxsaor
11339cbe2aa2Sxsa.Fl r
11349cbe2aa2Sxsato ensure that there is some output from the
11359cbe2aa2Sxsa.Ic rannotate
11369cbe2aa2Sxsacommand, even if only to show Revision 1.1 of the file.
11379cbe2aa2Sxsa.It Fl l
11389cbe2aa2SxsaLimit the scope of the search to the local directory
11399cbe2aa2Sxsaonly and disable recursive behaviour.
11409cbe2aa2Sxsa.It Fl R
11419cbe2aa2SxsaEnable recursive behaviour.
11429cbe2aa2SxsaThis is the default.
11439cbe2aa2Sxsa.It Fl r Ar rev
11449cbe2aa2SxsaShow annotations as of revision
11459cbe2aa2Sxsa.Ar rev
11469cbe2aa2Sxsa(can be a revision number or a tag).
11479cbe2aa2Sxsa.El
11489cbe2aa2Sxsa.Pp
11499cbe2aa2SxsaAliases:
11509cbe2aa2Sxsa.Ic rann ,
11519cbe2aa2Sxsa.Ic ra .
115241d2436dSjmc.Ss rdiff
11532ef3cb0dSxsaThe
11542ef3cb0dSxsa.Ic rdiff
11552ef3cb0dSxsacommand lists differences between two revisions in a
1156ae338b39Sjmc.Xr patch 1
11572ef3cb0dSxsacompatible format.
11582ef3cb0dSxsaThis command does not need a local checkout of the repository
11592ef3cb0dSxsato work.
116041d2436dSjmc.Bd -literal -offset indent
11618e0c6030Ssobradousage: cvs rdiff [-flR] [-c | -u] [-s | -t] [-V ver]
116241d2436dSjmc                 -D date | -r rev [-D date2 | -r rev2]
116341d2436dSjmc                 module ...
116441d2436dSjmc.Ed
11652ef3cb0dSxsa.Pp
11662ef3cb0dSxsaThe
11672ef3cb0dSxsa.Ic rdiff
11682ef3cb0dSxsacommand takes the following options:
11692ef3cb0dSxsa.Bl -tag -width Ds -offset 3n
11702ef3cb0dSxsa.It Fl c
11712ef3cb0dSxsaProduces a diff with three lines of context.
11722ef3cb0dSxsaSee
11732ef3cb0dSxsa.Xr diff 1
11742ef3cb0dSxsafor more information.
11752ef3cb0dSxsaThis is the default.
11762ef3cb0dSxsa.It Xo Fl D Ar date
11772ef3cb0dSxsa.Op Fl D Ar date2
11782ef3cb0dSxsa.Xc
11792ef3cb0dSxsaDifferences between the revision at
11802ef3cb0dSxsa.Ar date
11812ef3cb0dSxsaand the working copy or
11822ef3cb0dSxsa.Ar date
11832ef3cb0dSxsaand
11842ef3cb0dSxsa.Ar date2
11852ef3cb0dSxsa(if specified).
11862ef3cb0dSxsa.It Fl f
11872ef3cb0dSxsaForce the use of the head revision if the specified
11882ef3cb0dSxsadate or revision is not found.
11892ef3cb0dSxsa.It Fl l
11902ef3cb0dSxsaLimit the scope of the search to the local directory
11912ef3cb0dSxsaonly and disable recursive behaviour.
11922ef3cb0dSxsa.It Fl R
11932ef3cb0dSxsaEnable recursive behaviour.
11942ef3cb0dSxsaThis is the default.
11952ef3cb0dSxsa.It Xo Fl r Ar rev
11962ef3cb0dSxsa.Op Fl r Ar rev2
11972ef3cb0dSxsa.Xc
11982ef3cb0dSxsaDifferences between revision
11992ef3cb0dSxsa.Ar rev
12002ef3cb0dSxsaand the working copy or
12012ef3cb0dSxsa.Ar rev
12022ef3cb0dSxsaand
12032ef3cb0dSxsa.Ar rev2
12042ef3cb0dSxsa(if specified).
12052ef3cb0dSxsa.It Fl s
12062ef3cb0dSxsaCreate a summary change instead of a whole patch.
12072ef3cb0dSxsa.It Fl t
12082ef3cb0dSxsaLists differences between the last two revisions of each file.
12092ef3cb0dSxsa.It Fl u
12102ef3cb0dSxsaProduces a diff in unidiff format.
12112ef3cb0dSxsa.It Fl V Ar ver
12122ef3cb0dSxsaUse the RCS version
12132ef3cb0dSxsa.Ar ver
12142ef3cb0dSxsafor keyword substitution.
12152ef3cb0dSxsa.El
12162ef3cb0dSxsa.Pp
12172ef3cb0dSxsaAliases:
12182ef3cb0dSxsa.Ic pa ,
12192ef3cb0dSxsa.Ic patch .
122041d2436dSjmc.Ss release
1221d843f97aSxsaThe
1222d843f97aSxsa.Ic release
1223d843f97aSxsacommand indicates to
1224d843f97aSxsa.Nm
1225d843f97aSxsathat the working copy of a module is no longer in use and checks
1226d843f97aSxsathat non archived modifications in the base repository do exist.
1227d843f97aSxsaThis command is not mandatory.
1228d843f97aSxsaLocal directories could always be removed without using it, but
1229d843f97aSxsain this case the handling of history information will no longer be
1230d843f97aSxsacorrect (see the
1231d843f97aSxsa.Ic history
1232d843f97aSxsacommand).
123341d2436dSjmc.Bd -literal -offset indent
12348e0c6030Ssobradousage: cvs release [-d] dir ...
123541d2436dSjmc.Ed
1236d843f97aSxsa.Pp
1237d843f97aSxsaThe
1238d843f97aSxsa.Ic release
1239d843f97aSxsacommand takes the following options:
1240d843f97aSxsa.Bl -tag -width Ds -offset 3n
1241d843f97aSxsa.It Fl d Ar dir
1242d843f97aSxsaRemove the directory
1243d843f97aSxsa.Ar dir .
1244d843f97aSxsaBe aware that this option silently removes any directories that have
1245d843f97aSxsabeen added to the local working copy without using the
1246d843f97aSxsa.Ic add
1247d843f97aSxsacommand.
1248d843f97aSxsa.El
1249d843f97aSxsa.Pp
1250d843f97aSxsaFor each file not being synchronized with the base repository,
1251d843f97aSxsaa single letter prefix is given to specify the state of the file.
1252d843f97aSxsaThe possible prefixes are as follows:
125307ec1663Sderaadt.Bl -tag -width Ds
1254d843f97aSxsa.It \&?
1255d843f97aSxsaThe file is unknown to
1256d843f97aSxsa.Nm
1257d843f97aSxsaand is not in the list of files to ignore.
1258d843f97aSxsaAny new directories which have not been added with the
1259d843f97aSxsa.Ic add
1260d843f97aSxsacommand are silently ignored as well as their content.
1261d843f97aSxsa.It A
1262d843f97aSxsaThe file has been added with the
1263d843f97aSxsa.Ic add
1264d843f97aSxsacommand, but has not been committed to the repository with the
1265d843f97aSxsa.Ic commit
1266d843f97aSxsacommand.
1267d843f97aSxsa.It M
1268d843f97aSxsaThe file has been locally modified; a more recent version might
1269d843f97aSxsaexist in the base repository.
1270d843f97aSxsa.It R
1271d843f97aSxsaThe file has been removed with the
1272d843f97aSxsa.Ic remove
1273d843f97aSxsacommand, but has not been committed to the repository with the
1274d843f97aSxsa.Ic commit
1275d843f97aSxsacommand.
1276d843f97aSxsa.It U
1277d843f97aSxsaA more recent version of the file does exist but it is not
1278d843f97aSxsalocally up to date.
1279d843f97aSxsa.El
1280d355c522Sxsa.Pp
1281d355c522SxsaAliases:
1282d355c522Sxsa.Ic re ,
1283d355c522Sxsa.Ic rel .
128441d2436dSjmc.Ss remove
1285bc5f0dcbSxsaThe
1286bc5f0dcbSxsa.Ic remove
1287bc5f0dcbSxsacommand is used to inform
1288bc5f0dcbSxsa.Nm
1289bc5f0dcbSxsathat
1290bc5f0dcbSxsa.Ar file
1291bc5f0dcbSxsais scheduled to be removed from the repository.
1292bc5f0dcbSxsaFiles are not actually removed from the repository until the
1293bc5f0dcbSxsa.Ic commit
1294bc5f0dcbSxsacommand has been run subsequently.
1295bc5f0dcbSxsa.Pp
1296d7f0d14cSxsaThere is no way to remove a directory with the
1297d7f0d14cSxsa.Ic remove
1298d7f0d14cSxsacommand.
1299d7f0d14cSxsa.Nm
1300d7f0d14cSxsawill only remove a directory if it is empty and if the
1301d7f0d14cSxsa.Ic checkout
1302d7f0d14cSxsaor
1303d7f0d14cSxsa.Ic update
1304d7f0d14cSxsacommands are run with the
1305d7f0d14cSxsa.Fl P
1306d7f0d14cSxsaoption.
1307d7f0d14cSxsa(Note that the
1308d7f0d14cSxsa.Ic export
1309d7f0d14cSxsacommand always removes empty directories.)
131041d2436dSjmc.Bd -literal -offset indent
13118e0c6030Ssobradousage: cvs remove [-flR] [file ...]
131241d2436dSjmc.Ed
1313d7f0d14cSxsa.Pp
131455af49b2SxsaThe
1315e8a73a57Sjmc.Ic remove
1316e8a73a57Sjmccommand takes the following options:
1317e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
1318e8a73a57Sjmc.It Fl f
1319e8a73a57SjmcForce local file removal.
132055af49b2SxsaIf this flag is not used, the file must be locally removed beforehand for
132155af49b2Sxsathe command to be valid.
1322e8a73a57Sjmc.It Fl l
1323e8a73a57SjmcLimit the scope of the search to the local directory
1324e8a73a57Sjmconly and disable recursive behaviour.
1325e8a73a57Sjmc.It Fl R
1326e8a73a57SjmcEnable recursive behaviour.
1327e8a73a57SjmcThis is the default.
1328e8a73a57Sjmc.El
132955af49b2Sxsa.Pp
1330bc5f0dcbSxsaAliases:
133148e684f0Sxsa.Ic rm ,
133248e684f0Sxsa.Ic delete .
133341d2436dSjmc.Ss rlog
1334cc5f08a9SxsaThe
1335cc5f08a9Sxsa.Ic rlog
1336cc5f08a9Sxsacommand displays information on a
1337cc5f08a9Sxsa.Ar file
1338cc5f08a9Sxsasuch as its different revisions, description, different tags,
1339cc5f08a9Sxsaas well as the comments, dates, and authors of these revisions.
1340cc5f08a9SxsaBy default, the
1341cc5f08a9Sxsa.Ic rlog
1342cc5f08a9Sxsacommand displays all the available information; the options are only
1343cc5f08a9Sxsaused to restrict the displayed information.
1344cc5f08a9SxsaThis command does not need a local checkout of the repository
1345cc5f08a9Sxsato work.
1346cc5f08a9Sxsa.Bd -literal -offset indent
1347cc5f08a9Sxsausage: cvs rlog [-bhlNRt] [-d dates] [-r revs] [-s state]
1348cc5f08a9Sxsa               [-w users] module ...
1349cc5f08a9Sxsa.Ed
1350cc5f08a9Sxsa.Pp
1351cc5f08a9SxsaThe
1352cc5f08a9Sxsa.Ic rlog
1353cc5f08a9Sxsacommand takes the following options:
1354cc5f08a9Sxsa.Bl -tag -width Ds -offset 3n
1355cc5f08a9Sxsa.It Fl b
1356cc5f08a9SxsaList revisions of the default branch only.
1357cc5f08a9Sxsa.It Fl d Ar dates
1358cc5f08a9SxsaSpecify revisions with dates matching the specification.
1359cc5f08a9SxsaThe specification might be as follows:
1360cc5f08a9Sxsa.Bl -tag -width Ds
1361cc5f08a9Sxsa.It date1<date2 or date2>date1
1362cc5f08a9SxsaSelect all revisions between
1363cc5f08a9Sxsa.Ar date1
1364cc5f08a9Sxsaand
1365cc5f08a9Sxsa.Ar date2 .
1366cc5f08a9Sxsa.It <date or date>
1367cc5f08a9SxsaSelect all revisions before
1368cc5f08a9Sxsa.Ar date .
1369cc5f08a9Sxsa.It >date or date<
1370cc5f08a9SxsaSelect all revisions after
1371cc5f08a9Sxsa.Ar date .
1372cc5f08a9Sxsa.It date
1373cc5f08a9SxsaSelect the latest revision before or equal to
1374cc5f08a9Sxsa.Ar date .
1375cc5f08a9Sxsa.El
1376cc5f08a9Sxsa.Pp
1377cc5f08a9SxsaThe
1378cc5f08a9Sxsa.Sq \*(Gt
1379cc5f08a9Sxsaand
1380cc5f08a9Sxsa.Sq \*(Lt
1381cc5f08a9Sxsacharacters can be followed by the
1382cc5f08a9Sxsa.Sq =
1383cc5f08a9Sxsacharacter to imply an inclusive specification.
1384cc5f08a9SxsaSeveral specifications can be used by separating them with the
1385cc5f08a9Sxsa.Sq \&;
1386cc5f08a9Sxsacharacter.
1387cc5f08a9Sxsa.It Fl h
1388cc5f08a9SxsaPrint header only.
1389cc5f08a9Sxsa.It Fl l
1390cc5f08a9SxsaLimit the scope of the search to the local directory only.
1391cc5f08a9Sxsa.It Fl N
1392cc5f08a9SxsaDo not list tags.
1393cc5f08a9Sxsa.It Fl R
1394cc5f08a9SxsaPrint name of RCS file only.
1395cc5f08a9Sxsa.It Fl r Ar revs
1396cc5f08a9SxsaSpecify revision(s) to list:
1397cc5f08a9Sxsa.Bl -tag -width Ds
1398cc5f08a9Sxsa.It rev1,rev2,...
1399cc5f08a9SxsaA list of revisions is specified by separating names or numbers
1400cc5f08a9Sxsaof revisions by the
1401cc5f08a9Sxsa.Sq \&,
1402cc5f08a9Sxsacharacter.
1403cc5f08a9Sxsa.It rev1:rev2
1404cc5f08a9SxsaList all revisions between
1405cc5f08a9Sxsa.Ar rev1
1406cc5f08a9Sxsaand
1407cc5f08a9Sxsa.Ar rev2
1408cc5f08a9Sxsa(they must be on the same branch).
1409cc5f08a9Sxsa.It :rev
1410cc5f08a9SxsaList all revisions since the beginning of the branch until
1411cc5f08a9Sxsa.Ar rev
1412cc5f08a9Sxsaincluded.
1413cc5f08a9Sxsa.It rev:
1414cc5f08a9SxsaList all revisions of the branch beginning with
1415cc5f08a9Sxsa.Ar rev .
1416cc5f08a9Sxsa.It branch
1417cc5f08a9SxsaList all revisions of a branch.
1418cc5f08a9Sxsa.It branch.
1419cc5f08a9SxsaList the latest revision of the branch
1420cc5f08a9Sxsa.Ar branch .
1421cc5f08a9Sxsa.It branch1:branch2
1422cc5f08a9SxsaList all revisions of branches between
1423cc5f08a9Sxsa.Ar branch1
1424cc5f08a9Sxsaand
1425cc5f08a9Sxsa.Ar branch2 .
1426cc5f08a9Sxsa.El
1427cc5f08a9Sxsa.Pp
1428cc5f08a9SxsaWithout argument, the
1429cc5f08a9Sxsa.Fl r
1430cc5f08a9Sxsaoption means the latest revision of the default branch.
1431cc5f08a9Sxsa.It Fl s Ar state
1432cc5f08a9SxsaList revisions of the specified
1433cc5f08a9Sxsa.Ar state
1434cc5f08a9Sxsaonly.
1435cc5f08a9SxsaSeveral states can be listed by separating them with the
1436cc5f08a9Sxsa.Sq \&,
1437cc5f08a9Sxsacharacter.
1438cc5f08a9Sxsa.It Fl t
1439cc5f08a9SxsaPrint header and description only.
1440cc5f08a9Sxsa.It Fl w Ar users
1441cc5f08a9SxsaDo not list revisions made by specified
1442cc5f08a9Sxsa.Ar users .
1443cc5f08a9SxsaUsernames should be separated by the
1444cc5f08a9Sxsa.Sq \&,
1445cc5f08a9Sxsacharacter.
1446cc5f08a9Sxsa.El
1447cc5f08a9Sxsa.Pp
1448cc5f08a9SxsaAliases:
1449cc5f08a9Sxsa.Ic rlo .
145041d2436dSjmc.Ss rtag
1451a044487fSxsaThe
1452a044487fSxsa.Ic rtag
1453a044487fSxsacommand adds a symbolic tag to one or more modules.
1454a044487fSxsaIt is often used to create a new branch using the
1455a044487fSxsa.Fl b
1456a044487fSxsaoption.
145741d2436dSjmc.Bd -literal -offset indent
14588e0c6030Ssobradousage: cvs rtag [-abdFflnR] [-D date | -r rev]
145941d2436dSjmc                symbolic_tag module ...
146041d2436dSjmc.Ed
1461a044487fSxsa.Pp
1462a044487fSxsaThe
1463a044487fSxsa.Ic rtag
1464a044487fSxsacommand takes the following options:
1465a044487fSxsa.Bl -tag -width Ds -offset 3n
1466a044487fSxsa.It Fl a
1467a044487fSxsaClear tag from files already removed with the
1468a044487fSxsa.Ic remove
1469a044487fSxsacommand.
1470a044487fSxsa.It Fl b
1471a044487fSxsaCreate a branch.
1472a044487fSxsa.It Fl D Ar date
1473a044487fSxsaTag the most recent revision before
1474a044487fSxsa.Ar date .
1475a044487fSxsa.It Fl d
1476a044487fSxsaDelete tag.
1477a044487fSxsa.It Fl F
1478a044487fSxsaMove tag if it already exists.
1479a044487fSxsaIf this option is not used and a tag is used a second time,
1480a044487fSxsa.Nm
1481a044487fSxsawill not execute the action.
1482a044487fSxsa.It Fl f
1483a044487fSxsaForce the use of the head revision if the specified
1484a044487fSxsarevision or date is not found.
1485a044487fSxsa.It Fl l
1486a044487fSxsaLimit the scope of the search to the local directory
1487a044487fSxsaonly and disable recursive behaviour.
1488a044487fSxsa.It Fl n
1489a044487fSxsaDo not execute programs listed in the
1490a044487fSxsa.Pa CVSROOT/modules
1491a044487fSxsafile.
1492a044487fSxsa.It Fl R
1493a044487fSxsaEnable recursive behaviour.
1494a044487fSxsaThis is the default.
1495a044487fSxsa.It Fl r Ar rev
1496a044487fSxsaTag at revision
1497a044487fSxsa.Ar rev .
1498a044487fSxsa.El
1499a044487fSxsa.Pp
1500a044487fSxsaAliases:
1501a044487fSxsa.Ic rt ,
1502a044487fSxsa.Ic rfreeze .
150341d2436dSjmc.Ss server
1504ae338b39SjmcServer mode.
150541d2436dSjmc.Ss status
1506001a2cffSxsaThe
1507001a2cffSxsa.Ic status
1508001a2cffSxsacommand is used to display the state of checked out files.
150941d2436dSjmc.Bd -literal -offset indent
15108e0c6030Ssobradousage: cvs status [-lRv] [file ...]
151141d2436dSjmc.Ed
1512001a2cffSxsa.Pp
1513001a2cffSxsaThe
1514e8a73a57Sjmc.Ic status
1515e8a73a57Sjmccommand takes the following options:
1516e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
1517e8a73a57Sjmc.It Fl l
1518e8a73a57SjmcLimit the scope of the search to the local directory
1519e8a73a57Sjmconly and disable recursive behaviour.
1520e8a73a57Sjmc.It Fl R
1521e8a73a57SjmcEnable recursive behaviour.
1522e8a73a57SjmcThis is the default.
1523e8a73a57Sjmc.It Fl v
1524e8a73a57SjmcDisplay symbolic tags for
1525e8a73a57Sjmc.Ar file .
1526001a2cffSxsa.Pp
1527e8a73a57SjmcThe state may be one of the following:
152807ec1663Sderaadt.Bl -tag -width Ds
1529001a2cffSxsa.It Cm Locally Added
1530001a2cffSxsaThe file has been added with the
1531001a2cffSxsa.Ic add
1532001a2cffSxsacommand, but has not been committed to the repository with the
1533001a2cffSxsa.Ic commit
1534001a2cffSxsacommand.
1535001a2cffSxsa.It Cm Locally Modified
1536e8a73a57SjmcThe file is up to date, but has been locally modified.
1537001a2cffSxsa.It Cm Locally Removed
1538001a2cffSxsaThe file has been removed with the
1539001a2cffSxsa.Ic remove
1540001a2cffSxsacommand, but has not been committed to the repository with the
1541001a2cffSxsa.Ic commit
1542001a2cffSxsacommand.
1543001a2cffSxsa.It Cm Needs Checkout
1544001a2cffSxsaThe file has not been modified; a new version is available.
1545001a2cffSxsa.It Cm Needs Merge
1546001a2cffSxsaThe file has been modified and a newer version is available.
1547001a2cffSxsa.It Cm Needs Patch
1548001a2cffSxsaSame as
1549001a2cffSxsa.Ic Needs Checkout
1550001a2cffSxsabut, in client-server mode, only the differences are sent to save
1551001a2cffSxsanetwork resources.
1552001a2cffSxsa.It Cm Unresolved Conflict
1553001a2cffSxsaA merge has been done, but unresolved conflicts still remain.
1554001a2cffSxsa.It Cm Up-to-date
1555001a2cffSxsaThe file is up to date.
1556001a2cffSxsa.El
1557e8a73a57Sjmc.El
1558ae338b39Sjmc.Pp
1559ae338b39SjmcAliases:
1560ae338b39Sjmc.Ic st ,
1561ae338b39Sjmc.Ic stat .
156241d2436dSjmc.Ss tag
15634aabfca2SxsaThe
15644aabfca2Sxsa.Ic tag
15654aabfca2Sxsacommand adds a symbolic tag to a checked out version of one or more files.
156641d2436dSjmc.Bd -literal -offset indent
15678e0c6030Ssobradousage: cvs tag [-bcdFflR] [-D date | -r rev] [symbolic_tag]
156841d2436dSjmc               [file ...]
156941d2436dSjmc.Ed
157065350bb6Sjmc.Pp
157165350bb6SjmcThe
1572e8a73a57Sjmc.Ic tag
1573e8a73a57Sjmccommand takes the following options:
1574e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
1575e8a73a57Sjmc.It Fl b
15764aabfca2SxsaCreate a branch.
15774aabfca2Sxsa.It Fl c
15784aabfca2SxsaCheck that working files are not modified.
15794aabfca2Sxsa.It Fl D Ar date
15804aabfca2SxsaTag the most recent revision before
15814aabfca2Sxsa.Ar date .
1582e8a73a57Sjmc.It Fl d
1583e8a73a57SjmcDelete tag.
15844aabfca2Sxsa.It Fl F
15854aabfca2SxsaMove tag if it already exists.
15864aabfca2SxsaIf this option is not used and a tag is used a second time,
15874aabfca2Sxsa.Nm
15884aabfca2Sxsawill not execute the action.
15894aabfca2Sxsa.It Fl f
15904aabfca2SxsaForce the use of the head revision if the specified
15914aabfca2Sxsarevision or date is not found.
1592e8a73a57Sjmc.It Fl l
1593e8a73a57SjmcLimit the scope of the search to the local directory
1594e8a73a57Sjmconly and disable recursive behaviour.
1595e8a73a57Sjmc.It Fl R
1596e8a73a57SjmcEnable recursive behaviour.
1597e8a73a57SjmcThis is the default.
15984aabfca2Sxsa.It Fl r Ar rev
15994aabfca2SxsaTag at revision
16004aabfca2Sxsa.Ar rev .
1601e8a73a57Sjmc.El
1602ae338b39Sjmc.Pp
1603ae338b39SjmcAliases:
1604ae338b39Sjmc.Ic ta ,
1605ae338b39Sjmc.Ic freeze .
160641d2436dSjmc.Ss unedit
16072e0415b6SxsaThe
16082e0415b6Sxsa.Ic unedit
16092e0415b6Sxsacommand is used to give up an edition on a file and thus cancel
16102e0415b6Sxsathe wanted temporary notifications.
16112e0415b6SxsaIf the file has been modified since the
1612ae338b39Sjmc.Ic edit
16132e0415b6Sxsacommand has been issued,
16142e0415b6Sxsa.Nm
161519b92625Sderaadtwill ask if it should go back to the previous version, and lose the
16162e0415b6Sxsamodifications done on the file, or stay in edition mode on it.
161741d2436dSjmc.Bd -literal -offset indent
16188e0c6030Ssobradousage: cvs unedit [-lR] [file ...]
161941d2436dSjmc.Ed
16202e0415b6Sxsa.Pp
16212e0415b6SxsaThe
1622e8a73a57Sjmc.Ic unedit
1623e8a73a57Sjmccommand takes the following options:
1624e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
1625e8a73a57Sjmc.It Fl l
1626e8a73a57SjmcLimit the scope of the search to the local directory
1627e8a73a57Sjmconly and disable recursive behaviour.
1628e8a73a57Sjmc.It Fl R
1629e8a73a57SjmcEnable recursive behaviour.
1630e8a73a57SjmcThis is the default.
1631e8a73a57Sjmc.El
163241d2436dSjmc.Ss update
163381767edbSjfbThe
16346de32eafSjmc.Ic update
16352a165055Sdavidcommand is used to merge any of the changes that have occurred on the remote
163681767edbSjfbrepository into the local one where the command was run.
163741d2436dSjmc.Bd -literal -offset indent
16388e0c6030Ssobradousage: cvs update [-ACdflPpR] [-D date | -r rev] [-I ign]
163941d2436dSjmc                  [-j rev] [-k mode] [-W spec] [file ...]
164041d2436dSjmc.Ed
164181767edbSjfb.Pp
164281767edbSjfbThe
1643e8a73a57Sjmc.Ic update
1644e8a73a57Sjmccommand takes the following options:
1645e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
1646e8a73a57Sjmc.It Fl A
1647ef6582eeSxsaReset any sticky tags, dates, or keyword substitution modes that
1648ef6582eeSxsahave been set on the tree.
164955d2e5f2Sxsa.It Fl C
165055d2e5f2SxsaOverwrite locally modified files with clean repository copies.
1651893761c2Sxsa.It Fl D Ar date
1652893761c2SxsaUpdate as of the latest revision no later than
1653893761c2Sxsa.Ar date
1654893761c2Sxsa(is sticky).
1655893761c2Sxsa.It Fl d
1656893761c2SxsaCreate any new directories.
1657893761c2SxsaWithout this option,
1658893761c2Sxsa.Nm
1659893761c2Sxsadoes not create any new files sitting in these new directories
1660893761c2Sxsaadded in the base repository since the last update of the working
1661893761c2Sxsacopy, or since the last update with the
1662893761c2Sxsa.Fl d
1663893761c2Sxsaoption.
1664893761c2Sxsa.It Fl f
1665893761c2SxsaForce the use of the head revision if the specified
1666893761c2Sxsatag or date is not found.
1667893761c2Sxsa.It Fl I Ar ign
1668893761c2SxsaIgnore files specified by
1669893761c2Sxsa.Ar ign .
1670893761c2SxsaThis option can be used several times on the command line.
1671893761c2SxsaTo see all files, use the
1672893761c2Sxsa.Fl I Ar !\&
1673893761c2Sxsaspecification.
1674893761c2Sxsa.It Fl j Ar rev
1675893761c2SxsaMerge in changes made between current revision and
1676893761c2Sxsa.Ar rev .
1677893761c2SxsaIf two
1678893761c2Sxsa.Fl j
1679893761c2Sxsaoptions are specified, only merge the differences between the two
1680893761c2Sxsarevisions of the branch.
1681893761c2SxsaThis allows successive merges without having to resolve
1682893761c2Sxsaalready resolved conflicts again.
1683893761c2Sxsa.It Fl k Ar mode
1684893761c2SxsaSpecify the keyword substitution mode (is sticky).
1685e8a73a57Sjmc.It Fl l
1686e8a73a57SjmcLimit the scope of the search to the local directory
1687e8a73a57Sjmconly and disable recursive behaviour.
1688e8a73a57Sjmc.It Fl P
1689e8a73a57SjmcPrune any directories that have become empty as a result of the update.
1690893761c2Sxsa.It Fl p
1691893761c2SxsaSend the result of the update to standard output (avoids stickiness).
1692e8a73a57Sjmc.It Fl R
1693e8a73a57SjmcEnable recursive behaviour.
1694e8a73a57SjmcThis is the default.
1695893761c2Sxsa.It Fl r Ar rev
1696893761c2SxsaUpdate from a particular revision or branch (is sticky).
1697893761c2Sxsa.It Fl W Ar spec
1698893761c2SxsaWrappers specification line.
1699e8a73a57Sjmc.El
1700ae338b39Sjmc.Pp
1701893761c2SxsaBy default, the
1702893761c2Sxsa.Ic update
1703893761c2Sxsacommand does not create new directories; the
1704893761c2Sxsa.Fl d
1705893761c2Sxsaoption must be used for that.
1706893761c2Sxsa.Pp
1707b25eca5cSxsaFor each file updated, a single letter prefix is given to
1708b25eca5cSxsaspecify the state of the file.
1709b25eca5cSxsaThe possible prefixes are as follows:
171007ec1663Sderaadt.Bl -tag -width Ds
1711b25eca5cSxsa.It \&?
1712b25eca5cSxsaThe file is unknown to
1713b25eca5cSxsa.Nm .
1714b25eca5cSxsa.It A
1715b25eca5cSxsaThe file has been added with the
1716b25eca5cSxsa.Ic add
1717b25eca5cSxsacommand, but has not been committed to the repository with the
1718b25eca5cSxsa.Ic commit
1719b25eca5cSxsacommand.
1720b25eca5cSxsa.It C
1721b25eca5cSxsaA merge, with a more recent version of the file, has been done,
1722b25eca5cSxsabut unresolved conflicts still remain.
1723b25eca5cSxsa.It M
1724b25eca5cSxsaThe file has been locally modified; if a more recent version
1725b25eca5cSxsais available, the merge has been done without conflict.
1726b25eca5cSxsa.It P
1727b25eca5cSxsaThe same as
1728b25eca5cSxsa.Sq U ,
1729b25eca5cSxsabut, in client-server mode, only differences are sent to save network
1730b25eca5cSxsaresources.
1731b25eca5cSxsa.It R
1732b25eca5cSxsaThe file has been removed with the
1733b25eca5cSxsa.Ic remove
1734b25eca5cSxsacommand, but has not been committed to the repository with the
1735b25eca5cSxsa.Ic commit
1736b25eca5cSxsacommand.
1737b25eca5cSxsa.It U
1738b25eca5cSxsaThe file is up to date.
1739b25eca5cSxsa.El
1740b25eca5cSxsa.Pp
1741ae338b39SjmcAliases:
1742ae338b39Sjmc.Ic up ,
1743ae338b39Sjmc.Ic upd .
174441d2436dSjmc.Ss version
174581767edbSjfbCauses
174681767edbSjfb.Nm
174781767edbSjfbto print its version information.
1748b600b88bSjfbIf this command is issued within a local copy of a remote repository or
1749b600b88bSjfbif either the
1750b600b88bSjfb.Ev CVSROOT
1751b600b88bSjfbenvironment variable or the
1752b600b88bSjfb.Fl d
1753b600b88bSjfbflag specify a remote repository,
175481767edbSjfb.Nm
175581767edbSjfbwill also connect to the server and ask it to print its version information.
1756ae338b39Sjmc.Pp
1757ae338b39SjmcAliases:
1758ae338b39Sjmc.Ic ve ,
1759ae338b39Sjmc.Ic ver .
176041d2436dSjmc.Ss watch
1761d8f19150SxsaThe
1762d8f19150Sxsa.Ic watch
1763d8f19150Sxsacommand switches a file from normal mode to
1764d8f19150Sxsapseudo-lock mode as well as handling the notifications associated
1765d8f19150Sxsawith it.
1766d8f19150SxsaPseudo-lock mode means knowing who is editing a file:
1767d8f19150Sxsafor that,
1768d8f19150Sxsa.Nm
1769d8f19150Sxsaextracts the file in read-only mode.
1770d8f19150SxsaUsers must use the
1771d8f19150Sxsa.Ic edit
1772d8f19150Sxsacommand to get the editing rights on the file.
1773d8f19150Sxsa.Pp
1774d8f19150SxsaOne of the following arguments to the
1775d8f19150Sxsa.Ic watch
1776d8f19150Sxsacommand is mandatory: on, off, add, or remove.
1777d8f19150Sxsa.Ar on
1778d8f19150Sxsaswitches the file into pseudo-lock mode;
1779d8f19150Sxsa.Ar off
1780d8f19150Sxsaswitches it back to normal mode;
1781d8f19150Sxsa.Ar add
1782d8f19150Sxsaadds notifications for specific actions on the file;
1783d8f19150Sxsa.Ar remove
1784d8f19150Sxsaremoves those notifications.
1785d8f19150Sxsa.Pp
1786d8f19150SxsaThe notifications are permanent.
1787d8f19150SxsaThey remain in place until the
1788d8f19150Sxsa.Ic watch remove
1789d8f19150Sxsacommand is issued while the temporary notifications are
1790d8f19150Sxsamade available with the
1791d8f19150Sxsa.Ic edit
1792d8f19150Sxsacommand.
179341d2436dSjmc.Bd -literal -offset indent
17948e0c6030Ssobradousage: cvs watch on | off | add | remove [-lR] [-a action]
179541d2436dSjmc                 [file ...]
179641d2436dSjmc.Ed
1797d8f19150Sxsa.Pp
1798d8f19150SxsaThe
1799e8a73a57Sjmc.Ic watch
1800e8a73a57Sjmccommand takes the following options:
1801e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
1802e8a73a57Sjmc.It Fl a Ar action
1803e8a73a57SjmcSpecify the permanent notification wanted for
1804d8f19150Sxsa.Ar add | remove :
1805d8f19150Sxsa.Pp
180607ec1663Sderaadt.Bl -tag -width Ds -compact
1807d8f19150Sxsa.It Cm commit
1808e8a73a57SjmcAnother user has committed changes to the file.
1809d8f19150Sxsa.It Cm edit
1810e8a73a57SjmcAnother user is editing the file.
1811d8f19150Sxsa.It Cm unedit
1812e8a73a57SjmcAnother user has finished editing the file.
1813d8f19150Sxsa.It Cm all
1814d8f19150SxsaAll of the above.
1815d8f19150Sxsa.It Cm none
1816d8f19150SxsaNo notification.
1817d8f19150Sxsa.El
1818d8f19150Sxsa.Pp
1819e8a73a57SjmcIf no specification is requested using the
1820d8f19150Sxsa.Ar add
1821d8f19150Sxsaor
1822d8f19150Sxsa.Ar remove
1823d8f19150Sxsaarguments, it implies the
1824d8f19150Sxsa.Fl a Ar all
1825d8f19150Sxsaoption.
1826e8a73a57Sjmc.It Fl l
1827e8a73a57SjmcLimit the scope of the search to the local directory
1828e8a73a57Sjmconly and disable recursive behaviour.
1829e8a73a57Sjmc.It Fl R
1830e8a73a57SjmcEnable recursive behaviour.
1831e8a73a57SjmcThis is the default.
1832e8a73a57Sjmc.El
183341d2436dSjmc.Ss watchers
1834d8f19150SxsaThe
1835d8f19150Sxsa.Ic watchers
1836d8f19150Sxsacommand lists the users who asked for notifications as well as the
18379734ce85Sjmcnotification details.
1838d8f19150SxsaThe possible notifications are as follows:
183907ec1663Sderaadt.Bl -tag -width Ds
1840d8f19150Sxsa.It Cm commit
1841d8f19150SxsaPermanent watch of a commit of a new version of a file.
1842d8f19150Sxsa.It Cm edit
1843d8f19150SxsaPermanent watch of the start of file edition.
1844d8f19150Sxsa.It Cm tcommit
1845d8f19150SxsaTemporary watch of a commit of new version of a file.
1846d8f19150Sxsa.It Cm tedit
1847d8f19150SxsaTemporary watch of the start of file edition.
1848d8f19150Sxsa.It Cm tunedit
1849d8f19150SxsaTemporary watch of the end of file edition.
1850d8f19150Sxsa.It Cm unedit
1851d8f19150SxsaPermanent watch of the end of file edition.
1852d8f19150Sxsa.El
1853d8f19150Sxsa.Pp
1854d8f19150SxsaThe temporary watches are set using the
1855d8f19150Sxsa.Ic edit
1856d8f19150Sxsacommand, until the
1857d8f19150Sxsa.Ic commit
1858d8f19150Sxsaor
1859d8f19150Sxsa.Ic unedit
1860e8a73a57Sjmccommand is issued on a file.
186141d2436dSjmc.Bd -literal -offset indent
18628e0c6030Ssobradousage: cvs watchers [-lR] [file ...]
186341d2436dSjmc.Ed
1864e8a73a57Sjmc.Pp
1865e8a73a57SjmcThe
1866e8a73a57Sjmc.Ic watchers
1867e8a73a57Sjmccommand takes the following options:
1868e8a73a57Sjmc.Bl -tag -width Ds -offset 3n
1869e8a73a57Sjmc.It Fl l
1870e8a73a57SjmcLimit the scope of the search to the local directory
1871e8a73a57Sjmconly and disable recursive behaviour.
1872e8a73a57Sjmc.It Fl R
1873e8a73a57SjmcEnable recursive behaviour.
1874e8a73a57SjmcThis is the default.
1875e8a73a57Sjmc.El
18766c121f58Sjfb.Sh ENVIRONMENT
187707ec1663Sderaadt.Bl -tag -width Ds
1878a73a2907Sjmc.It Ev CVS_CLIENT_LOG
1879a73a2907SjmcThis variable enables logging of all communications between the client and
1880a73a2907Sjmcserver when running in non-local mode.
1881a73a2907SjmcIf set, this environment variable must contain a base path from which two
1882a73a2907Sjmcpaths will be generated by appending ".in" to the value for the server's
1883a73a2907Sjmcinput and ".out" for the server's output.
18848da8c714Sjoris.Pp
188580a91538SjorisThe path can contain the following substitutes:
188680a91538Sjoris.Pp
188780a91538Sjoris.Bl -tag -width Ds -offset indent -compact
18888da8c714Sjoris.It %c
188980a91538Sjoristhe command being run
18908da8c714Sjoris.It %d
189180a91538Sjoristhe date
18928da8c714Sjoris.It %p
189380a91538Sjoristhe process ID
189480a91538Sjoris.It %u
189580a91538Sjoristhe username of the person running it
18968da8c714Sjoris.El
18978da8c714Sjoris.Pp
18988da8c714SjorisThe substitutes are only supported by OpenCVS.
18996c121f58Sjfb.It Ev CVS_RSH
19006c121f58SjfbName of the program to use when connecting to the server through a remote
19016c121f58Sjfbshell.
19026c121f58SjfbThe default is to use the
19036c121f58Sjfb.Xr ssh 1
19046c121f58Sjfbprogram.
19056c121f58Sjfb.It Ev CVS_SERVER
19066c121f58SjfbIf set, gives the name of the program to invoke as a
19076c121f58Sjfb.Nm
19086c121f58Sjfbserver when using remote shell.
19096c121f58SjfbThe default is to use `cvs'.
19106c121f58Sjfb.It Ev CVSEDITOR
19116c121f58SjfbName of the editor to use when editing commit messages.
1912a73a2907SjmcChecked before
1913a73a2907Sjmc.Ev EDITOR
1914a73a2907Sjmcand
1915a73a2907Sjmc.Ev VISUAL .
19160efd96f6Sxsa.It Ev CVSREAD
19170efd96f6SxsaIf set,
19180efd96f6Sxsa.Nm
19190efd96f6Sxsaextracts files in read-only mode.
19203dcb84b2Sxsa.It Ev CVSREADONLYFS
19213dcb84b2SxsaPermit checkout from a read-only repository.
192279c1e02cSxsaImplies
192379c1e02cSxsa.Fl l .
19243dcb84b2SxsaSee also
19253dcb84b2Sxsa.Fl R ,
19263dcb84b2Sxsaabove.
1927a73a2907Sjmc.It Ev CVSROOT
1928a73a2907SjmcWhen set, this variable should contain the string pointing to the root
1929a73a2907Sjmcdirectory of the CVS repository.
1930a73a2907SjmcThe contents of this variable are ignored when the
1931a73a2907Sjmc.Fl d
1932a73a2907Sjmcoption is given or if `Root' files exist in the checked-out copy.
19336c121f58Sjfb.It Ev EDITOR
1934df020950SjmcName of the editor to use when editing commit messages.
1935df020950SjmcThis is traditionally a line-oriented editor,
1936df020950Sjmcsuch as
1937df020950Sjmc.Xr ex 1 .
1938f1a5c989Sxsa.It Ev HOME
1939f1a5c989SxsaDirectory where the
1940f1a5c989Sxsa.Pa .cvsignore
1941f1a5c989Sxsaand
1942f1a5c989Sxsa.Pa .cvsrc
1943f1a5c989Sxsafiles are searched for.
194423eb7e09Sxsa.It Ev TMPDIR
1945cb922eb0SxsaWhen set, this variable specifies the directory where temporary files
194623eb7e09Sxsaare to be created.
194723eb7e09SxsaThe default is set to
194823eb7e09Sxsa.Pa /tmp .
19496c121f58Sjfb.It Ev VISUAL
1950df020950SjmcName of the editor to use when editing commit messages.
1951df020950SjmcThis is traditionally a screen-oriented editor,
1952df020950Sjmcsuch as
1953df020950Sjmc.Xr vi 1 .
1954a73a2907Sjmc.El
1955f1c64ac4Sjmc.Sh EXIT STATUS
1956f1c64ac4Sjmc.Ex -std cvs
19576c121f58Sjfb.Sh SEE ALSO
19586c121f58Sjfb.Xr diff 1 ,
19590f79b147Sjmc.Xr gzip 1 ,
19606c121f58Sjfb.Xr patch 1 ,
1961a73a2907Sjmc.Xr rcs 1 ,
1962a7bff744Sjmc.Xr cvs 5 ,
1963d702bbe7Sxsa.Xr cvsintro 7
196423b0b97dSxsa.Sh STANDARDS
196523b0b97dSxsaThe flag
196623b0b97dSxsa.Op Fl x
196723b0b97dSxsahas no effect and is provided
196823b0b97dSxsafor compatibility only.
19696c121f58Sjfb.Sh HISTORY
19706c121f58SjfbThe OpenCVS project is a BSD-licensed rewrite of the original
19716c121f58SjfbConcurrent Versioning System written by Jean-Francois Brousseau.
19726c121f58SjfbThe original CVS code was written in large parts by Dick Grune,
19736c121f58SjfbBrian Berliner and Jeff Polk.
197443b10648Sjfb.Sh AUTHORS
197543b10648Sjfb.An Jean-Francois Brousseau
197643b10648Sjfb.An Vincent Labrecque
1977154b8bdbSjfb.An Joris Vink
1978b6fe83e4Sjfb.An Xavier Santolaria
1979a73a2907Sjmc.Sh CAVEATS
1980a73a2907SjmcThis CVS implementation does not fully conform to the GNU CVS version.
1981a73a2907SjmcIn some cases, this was done explicitly because GNU CVS has inconsistencies
1982a73a2907Sjmcor ambiguous behaviour.
1983a73a2907SjmcSome things have also been left out or modified to enhance the overall
1984a73a2907Sjmcsecurity of the system.
1985a73a2907Sjmc.Pp
1986a73a2907SjmcAmong other things, support for the pserver connection mechanism has been
1987a73a2907Sjmcdropped because of security issues with the authentication mechanism.
1988