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

Re: [Xen-devel] Test harness git clone: "unable to checkout"

To: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-devel] Test harness git clone: "unable to checkout"
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Mon, 15 Aug 2011 10:12:58 +0100
Cc: xen-devel mailing list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 15 Aug 2011 02:14:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAMrPLWJgGr2zUrnHMEWf68_v1arSYWS0SS32JQzN59jtm7eC1Q@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <CAMrPLWJgGr2zUrnHMEWf68_v1arSYWS0SS32JQzN59jtm7eC1Q@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, 2011-08-13 at 04:43 +0100, Todd Deshane wrote:
> When I run: git clone git://xenbits.xen.org/osstest.git
> 
> I get:
> Cloning into osstest...
> remote: Counting objects: 3971, done.
> remote: Compressing objects: 100% (2685/2685), done.
> remote: Total 3971 (delta 2627), reused 1890 (delta 1259)
> Receiving objects: 100% (3971/3971), 648.25 KiB | 337 KiB/s, done.
> Resolving deltas: 100% (2627/2627), done.
> warning: remote HEAD refers to nonexistent ref, unable to checkout.
> 
> Is there a fix or workaround?

AIUI this repo doesn't actually have a default head or an ongoing
"master" branch, hence it fails to check anything out after cloning.

Instead you should manually checkout the head corresponding to the
flight you are interested in. Check out "git remote -r"'s output and
e.g.
        git checkout -b fligh-8416 origin/flight-8416

Ian.



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

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