info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: verifymsg and branches


From: Christopher.Fouts
Subject: RE: verifymsg and branches
Date: Thu, 24 Mar 2005 15:26:38 -0500

Google for the "verifymsg script" thread on suggestions
how to get the "branch name" during a commit for the 
verifymsg.

>-----Original Message-----
>From: address@hidden 
>[mailto:address@hidden
>] On Behalf Of Matt Doar
>Sent: Thursday, March 24, 2005 3:04 PM
>To: address@hidden
>Cc: address@hidden
>Subject: verifymsg and branches
>
>
>
>I understand how verifymsg can be used to check the text in a 
>commit message. The problems is that I'd like to have 
>different checks for different branches, and there is no 
>"branch name" variable that I can see to pass into a script 
>called from verifymsg. 
>
>So I went to see how scripts such as cvs_acls and activitymail 
>get their branch information. cvs_acls seems to parse each 
>directory's CVS/Entries file on the client, and activitymail 
>seems to get it from the stdin for commitinfo. But I can't 
>pass the %l variable (the name of the file containing the 
>commit message) to anything but verifymsg and editinfo, and I 
>can't pass the same stdin to verifymsg.
>
>Any suggestions? 
>
>~Matt
>
>p.s. I suppose a two step process of checking the message and 
>recording the results for all possible branches somewhere, and 
>then modifying cvs_acls to check for an acceptable message 
>once the branch is known might work. Bit hokey though.
>
>Environment: cvs server 1.12.9, older clients and SmartCVS 4.0
>
>
>_______________________________________________
>Info-cvs mailing list
>address@hidden
>http://lists.gnu.org/mailman/listinfo/info-cvs
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]