quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] address@hidden: Bug#298788: Desirable new feature: quilt


From: Andreas Gruenbacher
Subject: Re: [Quilt-dev] address@hidden: Bug#298788: Desirable new feature: quilt merge]
Date: Thu, 10 Mar 2005 19:12:57 +0100

On Thu, 2005-03-10 at 12:42, Martin Quinson wrote:
> Hello,
> 
> also from the debian BTS. I dunno what to think about it. I never forked any
> patch, so I've no idea about merging them afterward ;)
> 
> Thanks for your time, Mt.
> 
> PS: as usual, it'd be cool if you could keep both the list and the bug in CC.
> 
> ----- Forwarded message from Peter Chubb <address@hidden> -----
> 
> Subject: Bug#298788: Desirable new feature: quilt merge
> X-Debian-PR-Package: quilt
> From: Peter Chubb <address@hidden>
> To: address@hidden
> Date: Thu, 10 Mar 2005 09:50:48 +1100
> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
> 
> 
> Package: quilt
> Version: 0.39-1
> Severity: wishlist
> 
> Quilt currently has the ability to `fork' a patch, but no simple ability to
> fold two patches into one.  I'd find it useful to be able to merge the
> top two patches into one.
> 
> quilt fold doesn't do what I want, as it imports an external patch
> into an existing patch.  Something like
> 
>    f=`quilt files`
>    t=`quilt top`
>    quilt pop
>    for i in $f
>    do
>       quilt add $i
>    done
>    cat patches/$t | quilt fold
>    ed patches/series <<-!
>    /^$t\>/d
>    w
>    q
>    !
> 
> is the nearest I've come to what I want...  the tricky bit is in the
> part of the patch before the patch proper.  I'd just want to
> concatenate them, and let the user edit the patch file to fix it up
> afterwards. 

Hm... that is indeed a nice idea. Folding is conceptually close, so
maybe we can extend `quilt fold' so that it concatenates two patches,
and combines comments? I'll think about it. Don't expect to see this in
CVS within the next two weeks though (too busy).


Cheers,
-- 
Andreas Gruenbacher <address@hidden>
SUSE Labs, SUSE LINUX GMBH





reply via email to

[Prev in Thread] Current Thread [Next in Thread]