[cvsnt] Re: Notification Script confusion (was ACLs, permissions, readers/writers, etc)

Tony Hoyle tmh at nodomain.org
Fri Aug 20 14:14:29 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Mike Wake wrote:

> Notice that contents of $CVSROOT is different to that reported by /bin/env
> 
> Do you think this by design or a Bug?
>
The variables on the command line are not environment variables, they're 
just substitute parameters.

The CVSROOT in the environment is what the local server is using for 
repository access (I don't know why it even pushes it into the 
environment, tbh, but it's always done).

The CVSROOT in the command line is what the user CVSROOT is, and is what 
should be displayed to the user (you should never display real paths in 
the scripts as it's information leakage and a security issue).

If scripts want to work with repository names a good number of them will 
require some tweaking... this isn't really avoidable (the same issue 
existed with prefixes).

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook