Todd Deshane
2011-Aug-13 03:43 UTC
[Xen-devel] Test harness git clone: "unable to checkout"
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? Thanks, Todd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-Aug-15 09:12 UTC
Re: [Xen-devel] Test harness git clone: "unable to checkout"
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@lists.xensource.com http://lists.xensource.com/xen-devel
Todd Deshane
2011-Aug-15 14:31 UTC
Re: [Xen-devel] Test harness git clone: "unable to checkout"
On Mon, Aug 15, 2011 at 5:12 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:> On Sat, 2011-08-13 at 04:43 +0100, Todd Deshane wrote: > 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 >Just in case others try to do this. The steps are: git clone git://xenbits.xen.org/osstest.git osstest cd osstest git branch -r <pick your flight> <checkout a flight> e.g. git checkout -b flight-8645 origin/flight-8645 Thanks, Todd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2011-Aug-25 15:46 UTC
Re: [Xen-devel] Test harness git clone: "unable to checkout"
Todd Deshane writes ("Re: [Xen-devel] Test harness git clone: "unable to checkout""):> Just in case others try to do this. The steps are: > > git clone git://xenbits.xen.org/osstest.git osstest > cd osstest > git branch -r > <pick your flight> > <checkout a flight> e.g. > git checkout -b flight-8645 origin/flight-8645This keeps coming up. I have pushed the current tested branch to master in the public git, and also arranged (I hope!) for this to be done automatically in future. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel