[cvsnt] Using loginfo

paul.s.barriscale at accenture.com paul.s.barriscale at accenture.com
Wed Sep 27 17:35:17 BST 2006


Hi,
 
I've upgraded from CVSNT v2.0.51d to v2.5.03 and now that seems to have resolved the issue. The parameters I am passing to the script are being expanded by the cvs commit.
 
17:29:02:   -> default_trigger: parse_info(CVSROOT/loginfo,,%<< Update of %r/%p\nIn directory %H:%P\n\nModified Files:\n\trsa-email.properties \nLog M
essage:\n%m
,Underwriting/JavaSource)
17:29:02:   -> Regexp match: ^Underwriting/* - Underwriting/JavaSource
17:29:02:   -> Match found!
17:29:02:   -> parse_info_line: Line=D:/development/test-workspace/scripts/commit2rss.rb %p %s %m $USER %<< Update of %r/%p\nIn directory %H:%P\n\nMod
ified Files:\n\trsa-email.properties \nLog Message:\n%m
17:29:02:   -> Run arguments: D:/development/test-workspace/scripts/commit2rss.rb Underwriting/JavaSource "Underwriting/JavaSource rsa-email.propertie
s" "Test Commit" pbarriscale
17:29:02:   -> CreateProcess(,D:/development/test-workspace/scripts/commit2rss.rb Underwriting/JavaSource "Underwriting/JavaSource rsa-email.propertie
s" "Test Commit" pbarriscale)
Script execution failed
 
However as you can see now, the script itself is not getting executed for some reason and the only thing that has changed is the upgrade of CVS. Is this a security issue with Windows XP SP1 or some configuration required for CVS NT. I'm running CVS under the :local protocol on my own machine. Any ideas please?
 
Thanks,
Paul
 
 

________________________________

From: cvsnt-bounces at cvsnt.org on behalf of Glen Starrett
Sent: Wed 27/09/2006 16:03
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] Using loginfo



paul.s.barriscale at accenture.com wrote:
> The description for the individual item just has the user id of the
> the person doing the commit. Do I need to define a template for the
> rcsinfo file to produce output such as the log message, updated file,
> etc...?

Different scripts have access to different variables.  See:

http://www.cvsnt.org/manual/html/loginfo.html

Try simplifying your script to see what it is that CVSNT is sending.
E.g. read in the command arguments and echo them out, then do the same
with STDIN to make sure you know what to expect.

Regards,

--
Glen Starrett
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt




This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.


More information about the cvsnt mailing list