BUGFIX: Kill trailing ns in CIA notifications.. apparently :C:\n consumes the \,...
authorChris Larson <clarson@kergoth.com>
Wed, 4 Feb 2004 02:59:14 +0000 (02:59 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 4 Feb 2004 02:59:14 +0000 (02:59 +0000)
BKrev: 40206002RN6zOvVKQA80bDxpNCZSVw

BitKeeper/triggers/ciabot_bk.sh

index 72e228d..cd2892a 100644 (file)
@@ -56,7 +56,7 @@ Subject: DeliverXML
             <files>$files</files>
 EOF
 echo "            <log>"
-bk changes -r"$REV" -d'$if(:C:){$each(:C:){:C:\\n}}' | sed 's/\&/\&amp\;/g;s/</\&lt\;/g;s/>/\&gt\;/g'
+bk changes -r"$REV" -d'$if(:C:){$each(:C:){:C: \\n}}' | sed -e 's/\&/\&amp\;/g;s/</\&lt\;/g;s/>/\&gt\;/g;'
 echo "            </log>"
 cat <<EOF
         </commit>