quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] dropping a patch


From: Gary V. Vaughan
Subject: Re: [Quilt-dev] dropping a patch
Date: Tue, 11 Apr 2006 11:28:53 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 10 Apr 2006 22:09:52 -0700
"Randy.Dunlap" <address@hidden> wrote:
> Hi,
> 
> Am I missing some shortcut to drop a patch (that may contain
> patches to multiple files)?
> 
> Do I actually have to go thru:
> 
>   quilt push # make sure that it is applied since 'remove' seems to
>               # work only on applied patches
>   quilt files # list all of them since I forgot what they are
>   quilt remove file1 file2 file3 file4 file5...
>   quilt delete drop-this.patch # top patch filename
> 
> I suppose I could just do:
> 
>   rm patch/drop-this.patch
>   edit patch/series
>   edit .pc/applied-patches
> 
> Does that work?

Assuming that dropped patches are always at the bottom of the stack,
I've always simply done this to commit such patches to CVS and take
them out of quilt:

    quilt pop -a -f

    foreach patch to be moved to version control
    do
      quilt push
      cvs commit ...
      edit patch/series
      rm -rf .pc
    done

HTH,
        Gary.
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://blog.azazil.net
GNU Hacker           / )=   http://trac.azazil.net/projects/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEO4TlFRMICSmD1gYRAvpjAJ96ZOjuXCZHKwEQlZEu9ZzUNObpWgCfT5Aj
O8yUdux1fxSOdUiRwg12Gww=
=K9a2
-----END PGP SIGNATURE-----




reply via email to

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