[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pserver and cvswrappers

From: Derek R. Price
Subject: Re: pserver and cvswrappers
Date: Mon, 06 Nov 2000 10:53:18 -0500

Dan Kegel wrote:

> When using pserver mode, which side obeys {~/.cvswrappers, $CVSWRAPPERS, 
> CVSROOT/cvswrappers}?
> Does the client pay any attention to CVSROOT/cvswrappers (which may or
> may not be on the local machine)?

I don't remember.  I'm not sure CVSROOT/cvswrappers isn't sourced only for a 
local client.

> Does the server pay any attention to ~/.cvswrappers or $CVSWRAPPERS?

Not exactly.  You may notice some effects on the server (read, 'archive files 
in the repository')

but the processing was done by the client.

I believe the order they are processed is CVSROOT/cvswrappers (when processed), 
$CVSWRAPPERS, wrappers specified on the command line.  Meaning that the order 
of precedence is
the REVERSE of that - if '-W !' is specified on the command line, it will clear 
the list of
wrappers created by the previous three sources.


> Did I get that right?

No.  I think there is some confusion here.  CVSWRAPPERS only works to set the 
substitution and perhaps merge mode of a file during the initial 'cvs import' 
or 'cvs add' of a
file.  These can also be changed after the fact using the 'cvs admin' command.  
During commit,
checkout, update, and export, if the keyword substition mode happens to be 
'-kb', i.e. binary
file sustitution mode, i.e. no keyword substitution, no \r\n conversion will be 
done either, if
it would have been required otherwise (e.g. checkout from/to some heterogeneous 
combination of
UNIX, Mac, and Windows).  If the merge mode is 'COPY', no merging will be 
performed, i.e. a new
version of the file is copied into the archive in the repository entire rather 
than attempting to

do intelligent merging using diff and patch.

> Where is this doc'd in the FM? , , ,
and probably some other places.

Hope this helped.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
Laws that forbid the carrying of arms...  disarm only those who are neither
inclined nor determined to commit crimes...  Such laws make things worse for
the assaulted and better for the assailants; they serve rather to encourage
than to prevent homicides, for an unarmed man may be attacked with greater
confidence than an armed man.

                        - Thomas Jefferson, quoting Cesare Beccaria

reply via email to

[Prev in Thread] Current Thread [Next in Thread]