WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [pushed] [ppc] set first line as subject

changeset:   9710:b2962e6543a515b23ba61cc058ff147b97451f53
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Thu Mar 30 14:34:17 2006 -0500
files:       tools/misc/hg-push-mail.sh
description:
[ppc] set first line as subject


diff -r f2d116c693c6c56f1e20793970bf7e25f3b46e7d -r 
b2962e6543a515b23ba61cc058ff147b97451f53 tools/misc/hg-push-mail.sh
--- a/tools/misc/hg-push-mail.sh        Thu Mar 30 12:06:33 2006 -0500
+++ b/tools/misc/hg-push-mail.sh        Thu Mar 30 14:34:17 2006 -0500
@@ -20,8 +20,8 @@ while [ -n "$1" ]; do
        echo "no changeset: $cset"
        exit 1;
     fi
-    sub=$(sed -ne 's/^summary: *\(.*\)/\1/p' $tmp)
-    mail -s "[pushed]${sub}" "$mailto" < $tmp
+    sub=$(sed -ne '1,/description:/d;1,1p' $tmp)
+    mail -s "[pushed] ${sub}" "$mailto" < $tmp
 
     rm $tmp
 



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>