diff options
Diffstat (limited to 'contrib/cvs/man')
-rw-r--r-- | contrib/cvs/man/cvs.1 | 58 | ||||
-rw-r--r-- | contrib/cvs/man/cvsbug.8 | 2 |
2 files changed, 55 insertions, 5 deletions
diff --git a/contrib/cvs/man/cvs.1 b/contrib/cvs/man/cvs.1 index 8cbe2be..fe9e30a 100644 --- a/contrib/cvs/man/cvs.1 +++ b/contrib/cvs/man/cvs.1 @@ -1,3 +1,4 @@ +.\" $FreeBSD$ .de Id .ds Rv \\$3 .ds Dt \\$4 @@ -229,6 +230,16 @@ Same effect as if the .SM CVSREAD environment variable is set. .TP +.B \-R +Turns on read-only repository mode. This allows one to check out from a +read-only repository, such as within an anoncvs server, or from a CDROM +repository. +Same effect as if the +.SM CVSREADONLYFS +environment variable is set. Using +.B \-R +can also considerably speed up checkout's over NFS. +.TP .B \-v [ --version ] Displays version and copyright information for .BR cvs . @@ -239,6 +250,25 @@ Overrides the setting of the .SM CVSREAD environment variable. .TP +.B \-g +Forces group-write perms on working files. This option is typically +used when you have multiple users sharing a single checked out source +tree, allowing them to operate their shells with a less dangerous umask. +To use this feature, create a directory to hold the checked-out source +tree, set it to a private group, and set up the directory such that +files created under it inherit the group id of the directory. This occurs +automatically with FreeBSD. With SysV you must typically set the SGID bit +on the directory. The users who are to share the checked out tree must +be placed in that group. Note that the sharing of a single checked-out +source tree is very different from giving several users access to a common +CVS repository. Access to a common CVS repository already maintains shared +group-write perms and does not require this option. + +To use the option transparently, simply place the line 'cvs -g' in your +~/.cvsrc file. Doing this is not recommended unless you firewall all your +source checkouts within a private group or within a private mode 0700 +directory. +.TP .B \-x Encrypt all communication between the client and the server. As of this writing, this is only implemented when using a Kerberos @@ -291,6 +321,15 @@ it will have the effect of producing context sensitive diffs for all executions of .` "cvs diff" ). +.SP +Global options are specified using the \fBcvs\fP keyword. For example, +the following: +.SP +cvs \-q +.SP +will mean that all +.` "cvs" +commands will behave as thought he \-q global option had been supplied. .SH "CVS COMMAND SUMMARY" Here are brief descriptions of all the .B cvs @@ -1994,7 +2033,7 @@ A read lock. .TP #cvs.wfl.\fIpid\fP A write lock. -.SH "ENVIRONMENT VARIABLES" +.SH "ENVIRONMENT" .TP .SM CVSROOT Should contain the full pathname to the root of the @@ -2009,9 +2048,7 @@ supply it on the command line: .` "cvs \-d \fIcvsroot cvs_command\fP\|.\|.\|." You may not need to set .SM CVSROOT -if your \fBcvs\fP binary has the right path compiled in; use -.` "cvs \-v" -to display all compiled-in paths. +if your \fBcvs\fP binary has the right path compiled in. .TP .SM CVSREAD If this is set, @@ -2022,6 +2059,13 @@ will try hard to make the files in your working directory read-only. When this is not set, the default behavior is to permit modification of your working files. .TP +.SM CVSREADONLYFS +If this is set, the +.B \-R +option is assumed, and +.B cvs +operates in read-only repository mode. +.TP .SM RCSBIN Specifies the full pathname where to find .SM RCS @@ -2047,6 +2091,12 @@ If this variable is set then .B cvs will ignore all references to remote repositories in the CVS/Root file. .TP +.SM CVS_OPTIONS +Specifies a set of default options for +.B cvs. +These options are interpreted before the startup file (\fI~/.cvsrc\fP) is read +and can be overridden by explicit command line parameters. +.TP .SM CVS_RSH .B cvs uses the contents of this variable to determine the name of the diff --git a/contrib/cvs/man/cvsbug.8 b/contrib/cvs/man/cvsbug.8 index 63574d4..fc1bf07 100644 --- a/contrib/cvs/man/cvsbug.8 +++ b/contrib/cvs/man/cvsbug.8 @@ -180,7 +180,7 @@ describe only with each problem report. .IP \(bu 3m For follow-up mail, use the same subject line as the one in the automatic -acknowledgent. It consists of category, PR number and the original synopsis +acknowledgement. It consists of category, PR number and the original synopsis line. This allows the support site to relate several mail messages to a particular PR and to record them automatically. .IP \(bu 3m |