[cvsnt] loginfo trigger once?

Tony Hoyle tmh at nothing-on.tv
Tue Aug 27 21:24:22 BST 2002


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.


On Fri, 23 Aug 2002 16:20:01 +0100, Bo Berglund wrote:

> When a commit is done the loginfo script triggers. I have noted that if
> the commit is on a folder including subfolders then loginfo triggers for
> each folder separately. When we use the loginfo trigger to send out
> email there will be one email for each folder included in the commit.
> 
> Question:
> Could CVSNT get a config switch that makes loginfo trigger only once for
> each commit and supply a complete list of files in the parameters
> including a relative path???
> Or is it already possible today?
> Or is the function so deeply hidden that it would be too hard to do?
> 
It's pretty hard to do.  The server treats each directory as a separate
commit, and doesn't keep any records.

If you look at the commit-prep.pl and log_accum.pl scripts they work
together to bundle the loginfo data into a single email message.  You
should be able to do something like this.

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