[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Can the qemu-xen git repository be moved to a 'git://' protocol? It can save a lot of time...



On Tuesday, 04 August 2009 at 16:59, Jeremy Fitzhardinge wrote:
> On 07/17/09 10:11, Brendan Cully wrote:
> > Ah, wonderful. Would it make sense to use this tree by default? We can
> > assume users already have hg working to pull the master tree, and it
> > means one less confusing build tool. The git tree doesn't seem to me
> > to offer any advantages over an hg mirror for the majority of users,
> > but it does increase the number of complicated moving parts in an
> > already difficult build system.
> >   
> 
> +1.  Presumably using something like the forest extension would help here.

Mercurial 1.3 introduces subrepositories [1], which are ideal for
this. You'd just create a .hgsub file in the xen root like

ioemu-remote = http://xenbits.xensource.com/ext/qemu-xen-unstable.hg

and whenever you commit in the main xen tree, hg records the version
of the qemu tree in use automatically, and checks out the appropriate
version whenever you hg update.

Of course, this only works with 1.3+. In the meantime, here's a patch
that imitates the qemu git Make logic for hg.

[1] http://mercurial.selenic.com/wiki/subrepos

Attachment: hg-ioemu.patch
Description: Text document

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.