[cvsnt] Scripting

Bo Berglund Bo.Berglund at system3r.se
Mon Jun 23 12:39:53 BST 2003

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.

You should probably use the postcommit script file insetad because it is triggered when everything is ready and there are no dangling tasks remaining.
The exact syntax is probably available on the cvsnt.org website, but should be similar to the other scripts:
<regular expression> <command to execute> <command line parameters>
<regular expression> is a string telling CVSNT which selection to trigger for.
<command to execute> is a normal Windows command to run (executable only) and must *not* contain spaces
<command line parameters> are a space delimited list (that is why spaces are not allaowed above) of command parameters

ALL D:\Programs\CVSNT\mybatchfile.bat thisparameter thatparameter
will execute the mybatchfile.bat with the two given parameters for every commit that is done (ALL).


-----Original Message-----
From: ERNST KUSCHKE [mailto:ernstkus at sasa.org.za]
Sent: den 23 juni 2003 11:49
To: <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Scripting

Greetings to everyone on the list - I'm new here.

I recently started digging into the world of CVS, and it's all still pretty overwhelming.
I run the CVSNT server on a Windows 2000 server.
As soon as I commit a file to a repository, I would like a dummy-copy of this new version to be copied to a certain directory, and then run a batch-file against this dummy-file.
I know that I should probably do some scripting in the loginfo -file.
What exactly is the format of this file? I see lots of Perl examples. Can I run a Windows batch-file from there? (IOW something like copy c:\blah.foo d:\blah.foo)??


Ernst Kuschke

Software Developer
Information Systems
Finance & Administration Division
South African Sugar Association

Tel:  +27 (0) 31 539-5300
Fax:  +27 (0) 31 539-2951


This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Any comments or opinions in this email or its attachments are merely stating our views and carry no guarantee as to their accuracy.

Although the sender endeavours to maintain a computer virus free network, the sender does not warrant that a computer virus has not been transmitted herewith and urges you to virus-check this e-mail message. Accordingly, the sender will not be liable for any damages as a result of transmission of a computer virus with this e-mail message

The South African Sugar Association reserves the right to monitor all e-mail communications through its networks.
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

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