Merge openembedded@openembedded.bkbits.net:packages
authorChris Larson <clarson@kergoth.com>
Fri, 16 Jan 2004 21:33:08 +0000 (21:33 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 16 Jan 2004 21:33:08 +0000 (21:33 +0000)
into direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages

2004/01/16 15:23:51-06:00 ti.com!kergoth
Merge openembedded@openembedded.bkbits.net:packages
into direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages

2004/01/16 15:23:39-06:00 ti.com!kergoth
Attempt to fix multiline ChangeSet comments for the CIA notifications.

BKrev: 40085894QTPOgksE3m_cWrpD2hmXmw

BitKeeper/triggers/ciabot_bk.sh

index 9140147..f053251 100644 (file)
@@ -27,7 +27,6 @@ cia_address="cia@navi.cx"
 
 author=`echo $BK_USER | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
 module=`basename $BKD_ROOT | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
-log=`bk changes -r"$REV" -d":C:" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
 tag=`bk changes -r"$REV" -d":TAG:" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
 for file in `bk changes -n -v -r"$REV" -d"\\\$unless(:GFILE:=ChangeSet){:GFILE:}" | sort -u | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`; do
     files="$files<file>$file</file>"
@@ -55,7 +54,11 @@ Subject: DeliverXML
             <revision>$REV</revision>
             <author>$author</author>
             <files>$files</files>
-            <log>$log</log>
+EOF
+echo "            <log>"
+bk changes -r"$REV" -d"\$if(:C:){\$each(:C:){:C:\\\n}}" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
+echo "            </log>"
+cat <<EOF
         </commit>
     </body>
 </message>