[PATCH] mq: Teach qdelete -u option

Dirkjan Ochtman dirkjan at ochtman.nl
Mon Jul 27 10:58:39 CDT 2009


On Mon, Jul 27, 2009 at 16:42, David Soria Parra<sn_ at gmx.net> wrote:
> # HG changeset patch
> # User David Soria Parra <dsp at php.net>
> # Date 1248705525 -7200
> # Node ID f097bac99830f30bbdacd431f6a5ca5ce7656b09
> # Parent  ca143d86727cdf7cfc079b6fc9a1eb09eed2dc72
> mq: Teach qdelete -u option
>
> Passing -u to qdelete will delete all unapplied patches from the queue.

The basic idea is useful, I guess, but let's not do a short option.

I also think it should check; if .hg/patches is a repo, the
files-to-be-deleted *must* be clean (i.e. not modified), or --force
should be applied.

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list