logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: How do I import a quilt patch series into hg/mq?: msg#00478

Subject: Re: How do I import a quilt patch series into hg/mq?
Hi Paul,

On 24/11/05, Paul Jackson <pj@xxxxxxx> wrote:
> My primary use for 'quilt' is to apply Andrew Morton's *-mm
> broken-out patch series on top of Linus's tree, before doing
> a patch or two of my own, as more quilt patches.
>
> My command series for that (from memory) is something like:
>
>   hg clone <linus tree> <new-mm-tree>
>   cd <new-mm-tree>
>   hg log | more         # find <rev> on which *-mm is based
>   hg co <rev>
>   curl -O 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/.../*.bz2
>   tar xvfj *.bz2
>   mv broken-out patches
>   quilt push -a
>
> At this point, I am in business.
>

Just had a look and the only issue i found was that i had to strip the
comments from the series file.

My sequence was a little different as i did:-

hg clone xxxx
hg qtags
hg update -u tagname
hg qinit
cp patches to  .hg/patches
cat xxx/broken-out/series | grep -v "#"  > .hg/patches/series
hg qpush -a

and it all went ok.

Hope that helped a bit

Samuel

ps yes mq should support comments in the series file.

pps No idea about your bug but if you don't do a qinit mq might not
like it... and my hacked up version it defiantly wont like it.



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