[cvsnt] Re: Question about administrative file syntax

Tony Hoyle tmh at nodomain.org
Mon May 23 21:26:34 BST 2005


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.


dzielke at aep.com wrote:
> In the CVSNT manual Appendix B talks about the parameters that can be 
> passed to a script.  I have a shell script called testScript.sh that is 
> called from the commitinfo file.  I've been trying to pass a few options 
> like %s %m %p.  Problem is, they aren't getting expanded at the time the 
> script is invoked.  The entry in the commitinfo looks like this:
> 
>      DEFAULT /usr/local/cvs/CVSROOT/testScript.sh %s %m %p
> 
What server version are you using?  The new syntax wasn't added until 
version 2.5.01 (later cvshome CVS also have something similar but it's 
not exactly the same).

The same script against the cvsnt repository, Win32 client:

D:\CVSROOT>cvs commit -fm "test script" test.txt
+++++++++++++++++++++++++++++++++++++++
This is a test of the commitinfo script handling.  Please
ignore.
/usr/local/cvs/CVSROOT/testScript.sh test.txt test script CVSROOT
+++++++++++++++++++++++++++++++++++++++
Checking in test.txt;
/usr/local/cvs/CVSROOT/test.txt,v  <--  test.txt
new revision: 1.37; previous revision: 1.36
done
cvs server: Rebuilding administrative file database

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