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] Update xen-clone script for hg. Still missing revision s

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Update xen-clone script for hg. Still missing revision selection functionality.
From: James Bulpin <James.Bulpin@xxxxxxxxxxxx>
Date: Fri, 01 Jul 2005 10:09:17 +0100
Delivery-date: Fri, 01 Jul 2005 09:08:55 +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>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Future patchbot messages will come directly to the list.

-------- Original Message --------
Subject: Update xen-clone script for hg. Still missing revision selection functionality.
Date: Thu, 30 Jun 2005 22:30:10 -0400
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Reply-To: xen-devel@xxxxxxxxxxxxxxxxxxx
To: James.Bulpin@xxxxxxxxxxxx

# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxxx
# Node ID 8041c2fa1cbc370d6d6fdac95196a7b6493c79f3
# Parent  f4768892d6dd00916e813f80840ca6a5df9c75de

Update xen-clone script for hg. Still missing revision selection functionality.
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r f4768892d6dd -r 8041c2fa1cbc tools/misc/xen-clone
--- a/tools/misc/xen-clone      Fri Jul  1 01:28:45 2005
+++ b/tools/misc/xen-clone      Fri Jul  1 02:12:36 2005
@@ -1,6 +1,6 @@
 #!/bin/sh -x

-# usage: xen-clone bk_repository dest_dir orig_linux_dir
+# usage: xen-clone hg_repository dest_dir orig_linux_dir
 #
# this script contains some CL site specific details, but can easily be adapted
 #
@@ -10,22 +10,20 @@

 case "$SITE" in
 UCCL)
-       BK_REP=${1:-/usr/groups/xeno/BK/xeno.bk}
-       # BK_REP=${1:-xeno-master/xeno.bk}
+       BK_REP=${1:-http://hg.srg.cl.cam.ac.uk/xen-unstable.hg}
        LINUX_DIR=${3:-/usr/groups/xeno/archive/}
        ;;
 *)
-       BK_REP=${1:-bk://xen.bkbits.net/xeno-1.0.bk}
-       # BK_REP=${1:-ssh://xen@xxxxxxxxxxxxxx/xeno-1.0.bk}
+       BK_REP=${1:-http://xenbits.xensource.com/xen-unstable.hg}
        LINUX_DIR=${3:-.:..}
 ;;
 esac

 DEST_DIR=${2:-xeno-clone}
 DEST_BK_REP=`basename "${BK_REP}"`
-DEST_VER=`basename ${DEST_BK_REP} .bk`
+DEST_VER=`basename ${DEST_BK_REP} .hg`

-echo usage: xen-clone bk_repository dest_dir orig_linux_dir
+echo usage: xen-clone hg dest_dir orig_linux_dir
 echo Source BK Repository : ${BK_REP}
 echo Destination Dir/Repository : ${DEST_DIR}/${DEST_BK_REP}
 echo Pristine Linux Source directory : ${LINUX_DIR}
@@ -54,10 +52,10 @@
 # clone the master repository (now checked-out by default)
 if [ ! -d ${DEST_BK_REP} ]
 then
-bk clone ${BK_REP} ${DEST_BK_REP}
+mkdir -p ${DEST_BK_REP} ; cd ${DEST_BK_REP} ; hg init ${BK_REP} ${DEST_BK_REP} ; hg co ; cd ${TOP}
 else
 cd ${DEST_BK_REP}
-bk pull
+hg pull ; hg co
 cd ${TOP}
 fi

@@ -79,8 +77,8 @@
   ln -sf ../install install
  fi

- make -j4 world
- make -j4 linux24
+ make -j4 KERNELS=linux-* world
+ #make -j4 linux24
  cd ../install/boot
  if [ -r vmlinuz-2.6-xen0 ]
  then

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Update xen-clone script for hg. Still missing revision selection functionality., James Bulpin <=