info-cvs
[Top][All Lists]
Advanced

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

Sample loginfo file?


From: Garvin Hicking
Subject: Sample loginfo file?
Date: 16 Jul 2001 11:07:00 +0200

 Salutations, info-cvs!


Does anyone have an example loginfo file, which sends me an email  
containing the log-messages of the commit AND includes the diffs of the  
conerning files? I'm not that good at programming my own perl/bash  
scripts, and don't know how to treat the inputs/outputs right.

At the moment, I use the following:

----snip---
DEFAULT (echo "-----"; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
ALL (echo -e "From: address@hidden: address@hidden: "CVS UPDATE: 
%{sVv}"\nSender: address@hidden"; cat) | /usr/sbin/sendmail -oi -oem -t -f 
address@hidden
-----------

Thanks,
Garvin.



reply via email to

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