[PATCH] mq: --keep default behaviour of qdelete

Frank Kingswood frank at kingswood-consulting.co.uk
Thu Oct 14 05:39:08 CDT 2010


On 14/10/10 10:45, Erik Zielke wrote:

> mq: --keep default behaviour of qdelete.
>
> Changed qdelete so that keep is default behaviour, and renames the
> patch by appending .deleted to the patch file name.

Hmmm, some of my patches are tens of megabytes, I would not want to keep them 
around by default. Also the user interface (if you could call it that) for 
deleting qdel-but-kept patches is much harder - it involves finding the patch 
directory and deleting files there.

As a matter of principle I'm opposed to software second-guessing the user. If 
the user says delete, then the patch file should be deleted, not stored in 
some trashcan which slowly fills up the disk.

Frank



More information about the Mercurial-devel mailing list