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]script to publish pushes, until we get it automated

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed]script to publish pushes, until we get it automated
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Mon, 27 Mar 2006 15:45:15 -0500
Delivery-date: Mon, 27 Mar 2006 21:50:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9645:85ea9f80f403
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Mon Mar 27 15:43:08 2006 -0500
summary:     script to publish pushes, until we get it automated

diff -r 347b0f87cbd3 -r 85ea9f80f403 tools/misc/hg-push-mail.sh
--- /dev/null   Thu Jan  1 00:00:00 1970 +0000
+++ b/tools/misc/hg-push-mail.sh        Mon Mar 27 15:43:08 2006 -0500
@@ -0,0 +1,27 @@
+#! /bin/bash
+#
+#
+#set -x
+
+mailto='xen-ppc-devel@xxxxxxxxxxxxxxxxxxx'
+
+if [ -z "$1" ]; then
+    echo "usage $0 <cset id>"
+    exit 1;
+fi
+
+while [ -n "$1" ]; do
+    cset=$1
+    tmp=/tmp/hg.$$.$cset 
+
+    if ! hg log -p -r $cset > $tmp ; then
+       echo "no changeset: $cset"
+       exit 1;
+    fi
+    sub=$(sed -ne 's/^summary: *\(.*\)/\1/p' $tmp)
+    mail -s "[pushed]${sub}" "$mailto" < $tmp
+
+    rm $tmp
+
+    shift;
+done



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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed]script to publish pushes, until we get it automated, Jimi Xenidis <=