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-changelog

[Xen-changelog] Script to generate diffs between linux-xen subdirs and r

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Script to generate diffs between linux-xen subdirs and real linux
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Sep 2005 20:02:12 +0000
Delivery-date: Thu, 22 Sep 2005 20:00:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 9e4fb055be8093d9f1df96137397f2f05d44d2e9
# Parent  6bf96d977ecc6b65f9c9b08ff0aace51fb37d9da
Script to generate diffs between linux-xen subdirs and real linux

diff -r 6bf96d977ecc -r 9e4fb055be80 xen/arch/ia64/tools/linux-xen-diffs
--- /dev/null   Thu Sep 15 16:54:16 2005
+++ b/xen/arch/ia64/tools/linux-xen-diffs       Fri Sep 16 22:48:44 2005
@@ -0,0 +1,25 @@
+# generate a patch for all the files in linux-xen directories
+# (these are files that are identical to linux except for a few small changes)
+# run in the main xen directory
+LINUXPATH=/home/djm/linux-2.6.13
+OUTFILE=/tmp/linux-xen-diffs
+wd=$PWD
+for i in include/asm-ia64/linux-xen/asm include/asm-ia64/linux-xen/linux 
arch/ia64/linux-xen
+do
+echo '#############' $i '#############'
+cd $i
+ln -s $LINUXPATH xxx
+cat README.origin | grep -v '^#' | grep -v '^[         ]*$' | \
+       sed -e 's/[     ]*-> linux/ xxx/' | \
+       sed -e 's/^/diff -Naur /' | bash
+rm -f xxx
+cd $wd
+done > $OUTFILE
+echo 'Total lines in patch:' `cat $OUTFILE | grep -v '########' | wc -l`
+echo 'Approx. changes in patch:' `cat $OUTFILE | grep -v '########' | \
+       grep -- '-#if' | wc -l`
+echo 'Total lines added by patch:' `cat $OUTFILE | grep -v '########' | \
+       grep -- '^-' | wc -l`
+echo 'Total non-conditional-compile lines added by patch:' \
+       `cat $OUTFILE | grep -v '########' | grep -- '^-' | \
+       egrep -v '^-#if|^-#else|^-#endif' | wc -l`

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Script to generate diffs between linux-xen subdirs and real linux, Xen patchbot -unstable <=