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] Can the qemu-xen git repository be moved to a 'git://' p

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
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] Can the qemu-xen git repository be moved to a 'git://' protocol? It can save a lot of time..., Brendan Cully <=