From bd684a02eb01f6c50124dd5e83c9d44ecdcec12b Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 5 Dec 2003 07:38:54 +0000 Subject: [PATCH] Merge openembedded@openembedded.bkbits.net:packages into direwolf.ppp.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages 2003/12/05 01:38:43-06:00 ti.com!kergoth Dont email CIA when there are no csets to send.. BKrev: 3fd0360e4TmKc4MdgsUUb6-Fb67Ntg --- BitKeeper/triggers/post-outgoing.ciabot | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BitKeeper/triggers/post-outgoing.ciabot b/BitKeeper/triggers/post-outgoing.ciabot index d98f06f596..cf45b05c99 100644 --- a/BitKeeper/triggers/post-outgoing.ciabot +++ b/BitKeeper/triggers/post-outgoing.ciabot @@ -84,6 +84,8 @@ then CHANGECMD="$CHANGECMD -v" fi +if [ X$BK_CSETLIST != X ] +then echo "Sending notification mail to $COMMITADDRESS..." ( @@ -93,12 +95,11 @@ R_OUT=`echo $RD | sed "s,.*/,,"` echo repository={green}${R_OUT}{normal} $U_OUT # See "bk help prs" for documentation on the formatting string. -if [ X$BK_CSETLIST != X ] -then ( $CHANGECMD -d'$if(:GFILE:=ChangeSet){{orange}ChangeSet@:REV:{normal}$if(:TAG:){ tags={red}:TAG:{normal}} $if(:C:){:C:}\n}$unless(:GFILE:=ChangeSet){* :GFILE:$if(:C:){: $each(:C:){(:C:)}}\n}' - < $BK_CSETLIST ) fi ) | mail -s "Announce `echo -n $IRCCHANNEL | sed 's,.*/,,'`" $COMMITADDRESS echo "done." +fi exit 0 -- 2.39.5