From: Chris Larson Date: Fri, 5 Dec 2003 07:38:54 +0000 (+0000) Subject: Merge openembedded@openembedded.bkbits.net:packages X-Git-Tag: Release-2010-05/1~20518 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd684a02eb01f6c50124dd5e83c9d44ecdcec12b;p=openembedded.git 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 --- 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