[PATCH 0 of 1] RFC: mq/qpop --keep-wdir option

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Nov 3 18:53:34 CST 2009


On Tue, 3 Nov 2009 20:14:11 +0100, Dirkjan Ochtman <dirkjan at ochtman.nl> wrote:
> On Tue, Nov 3, 2009 at 17:46, Sune Foldager <cryo at cyanite.org> wrote:
>> I often need a way to 'uncommit' the tipmost commit along some
>> branch, returning the changes to the working directory. This often
>> happens with queues, which I use to move local changes around with
>> rebase. Currently, there is no simple way of doing this... so what do
>> you guys think about this small patch? It provides qpop with an
>> option to leave the directory as it was before popping and adjust the
>> dirstate accordingly.
>
> We discussed this is in the MQ usability thread a while ago, I think I
> proposed a qexclude command that would kind of do the opposite of
> qrefresh/qrecord. Would definitely be nice to have hunk-level
> granularity.

+1

It would be awesome if we could keep the current behavior of qrefresh,
but also make it possible to run e.g.:

    hg qrefresh --interactive

to use an interface similar to record/qrecord :-)



More information about the Mercurial-devel mailing list