|
From: | Derek Robert Price |
Subject: | Re: CVS 1.11.6: export bug in CVS on (LI/U)nix when CVSROOT env contains trailing slash |
Date: | Wed, 30 Jul 2003 11:45:57 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
Mark D. Baushke wrote:
Paul Edwards <kerravon@nosppaam.w3.to> writes:Who's to say that I don't want to change my access method to a remote repository, but put that into the CVSROOT variable rather than specify "-d"?cvs will ignore your $CVSROOT variable if it sees a CVS/Root or a -d <root> command-line option, so that is 'who' in this case. -d <root> will always override the CVS/Root or $CVSROOT values. CVS/Root is a default if the command line is not specified. $CVSROOT is a default if no other information is available. The -d <root> has always overridden the CVSROOT environment variable goin back at least as far as cvs 1.3. When I added CVS/Root, I put it in the middle of the two as to precedence.
It really makes sense if you think about it. It is much harder to change your $CVSROOT variable or your CVS/Root files dynamically, so the command line is given the override potential.
Derek -- *8^) Email: derek@ximbiot.com Get CVS support at <http://ximbiot.com>! -- Once Law was sitting on the bench And Mercy knelt a-weeping. "Clear out!" he cried, "disordered wench! Nor come before me creeping. Upon you knees if you appear, 'Tis plain you have no standing here." Then Justice came. His Honor cried: "YOUR states? -- Devil seize you!" "Amica curiae," she replied -- "Friend of the court, so please you." "Begone!" he shouted -- "There's the door -- I never saw your face before!" -- Ambrose Bierce, "The Devil's Dictionary"
[Prev in Thread] | Current Thread | [Next in Thread] |