Reverse of qpush --move?

Colin Caughie c.caughie at indigovision.com
Thu Jul 8 08:54:11 UTC 2010


I see Mercurial 1.6 introduces the --move option to the qpush command, to allow you to move a patch to the start of the queue while pushing so that only that one gets applied.

This sounds useful, but I've just encountered a situation where I want to do the reverse. I have a patch queue like this:

(applied)
patchA
patchB
patchC
------
(not applied)
patchD

and I'd like to do something like "qpop --move patchB" to end up with

(applied)
patchA
patchC
------
(not applied)
patchB
patchD

Is something like this possible?

I know I can just pop everything and then hand-edit the series file, but I can see myself wanting to do this quite frequently so it would be nice if there was an easier way.


Latest News at: http://www.indigovision.com/news2010.php



More information about the Mercurial mailing list